Группа :: Разработка/C
Пакет: libdomain
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: libdomain
Version: 0.7.1
Release: alt1
Summary: Libdomain library provides ability to manipulate LDAP entries.
License: GPLv2+
Group: Development/C
Url: https://github.com/august-alt/libdomain
BuildRequires: cmake
BuildRequires: rpm-macros-cmake
BuildRequires: cmake-modules
BuildRequires: gcc gcc-c++
BuildRequires: libldap-devel libverto-devel libverto-libev-devel libverto-glib-devel libverto-libevent-devel
BuildRequires: libtalloc-devel libsasl2-devel
BuildRequires: cgreen
BuildRequires: doxygen
Requires: libverto-glib libverto-libev libverto-libevent
Source0: %name-%version.tar
%description
Libdomain library provides ability to manipulate LDAP entries.
%package devel
Summary: Developer tools for the libdomain client library
Group: Development/C
Requires: libdomain = %version-%release
%description devel
The libdomain-devel package contains the header files and libraries needed to
develop programs that link against the libdomain client library.
%package tests
Summary: Tests package for the libdomain client library
Group: Other
Requires: libdomain = %version-%release
%description tests
Tests suite for the libdomain client library to improve test process.
You probably do not need that unless you really sure that you are.
%prep
%setup -q
%build
%cmake -DLIBDOMAIN_BUILD_TESTS:BOOL=ON
%cmake_build
%install
%cmakeinstall_std
mkdir -p %buildroot%_includedir/%name
install -v -p -m 644 -D %_builddir/%name-%version/src/*.h %buildroot%_includedir/%name/
%files
%doc README.md
%_libdir/libdomain.so
%files devel
%_includedir/%name/*.h
%files tests
%_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: libdomain
Version: 0.7.1
Release: alt1
Summary: Libdomain library provides ability to manipulate LDAP entries.
License: GPLv2+
Group: Development/C
Url: https://github.com/august-alt/libdomain
BuildRequires: cmake
BuildRequires: rpm-macros-cmake
BuildRequires: cmake-modules
BuildRequires: gcc gcc-c++
BuildRequires: libldap-devel libverto-devel libverto-libev-devel libverto-glib-devel libverto-libevent-devel
BuildRequires: libtalloc-devel libsasl2-devel
BuildRequires: cgreen
BuildRequires: doxygen
Requires: libverto-glib libverto-libev libverto-libevent
Source0: %name-%version.tar
%description
Libdomain library provides ability to manipulate LDAP entries.
%package devel
Summary: Developer tools for the libdomain client library
Group: Development/C
Requires: libdomain = %version-%release
%description devel
The libdomain-devel package contains the header files and libraries needed to
develop programs that link against the libdomain client library.
%package tests
Summary: Tests package for the libdomain client library
Group: Other
Requires: libdomain = %version-%release
%description tests
Tests suite for the libdomain client library to improve test process.
You probably do not need that unless you really sure that you are.
%prep
%setup -q
%build
%cmake -DLIBDOMAIN_BUILD_TESTS:BOOL=ON
%cmake_build
%install
%cmakeinstall_std
mkdir -p %buildroot%_includedir/%name
install -v -p -m 644 -D %_builddir/%name-%version/src/*.h %buildroot%_includedir/%name/
%files
%doc README.md
%_libdir/libdomain.so
%files devel
%_includedir/%name/*.h
%files tests
%_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь