adcli/adcli.spec

70 lines
1.6 KiB
RPMSpec

Name: adcli
Version: 0.4
Release: 2%{?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
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* 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