adcli/adcli.spec
2012-11-12 13:49:18 +01:00

67 lines
1.5 KiB
RPMSpec

Name: adcli
Version: 0.4
Release: 1%{?dist}
Summary: Active Directory enrollment
License: LGPLv2+
URL: http://cgit.freedesktop.org/realmd/adcli
Source0: http://www.freedesktop.org/software/realmd/releases/adcli-%{version}.tar.gz
BuildRequires: intltool pkgconfig
BuildRequires: gettext-devel
BuildRequires: krb5-devel
BuildRequires: openldap-devel
%description
adcli is a library and tool for joining an Active Directory domain using
standard LDAP and Kerberos calls.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
%define _hardened_build 1
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
%files
%{_libdir}/libadcli.so.*
%{_sbindir}/adcli
%doc AUTHORS COPYING ChangeLog NEWS README
%files devel
%{_includedir}/adcli-1/
%{_libdir}/libadcli.so
%{_libdir}/pkgconfig/adcli-1.pc
%changelog
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.4-1
- Update for 0.4 version, fixing various bugs
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.3-1
- Update for 0.3 version
* Tue Sep 4 2012 Stef Walter <stefw@redhat.com> - 0.2-1
- Update for 0.2 version
* Wed Aug 15 2012 Stef Walter <stefw@redhat.com> - 0.1-1
- Initial 0.1 package