Blob Blame History Raw
Name:		adcli
Version:	0.2
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-0.2.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
* 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