SPECS: likewise-open.spec - rel. 0.2 - BR: mono-compat-links - patch for op...
duddits
duddits at pld-linux.org
Sat Mar 7 20:37:13 CET 2009
Author: duddits Date: Sat Mar 7 19:37:13 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel. 0.2
- BR: mono-compat-links
- patch for open() added
- autotools dropped from phase 1 (probably spec needs more work here)
- some dirty hacks in %install have been added
- cleaning
- %files
- builds, needs testing
---- Files affected:
SPECS:
likewise-open.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/likewise-open.spec
diff -u SPECS/likewise-open.spec:1.2 SPECS/likewise-open.spec:1.3
--- SPECS/likewise-open.spec:1.2 Sun Feb 24 03:18:16 2008
+++ SPECS/likewise-open.spec Sat Mar 7 20:37:08 2009
@@ -3,14 +3,16 @@
Summary: Likewise - Linux authentication on a Microsoft network using AD
Name: likewise-open
Version: 4.0.0
-Release: 0.1
+Release: 0.2
License: GPL v3
Group: Applications
Source0: http://www.likewisesoftware.com/bits/%{name}-%{version}.tar.gz
# Source0-md5: 089a479054ddb308702110fa365c31c8
+Patch0: %{name}-chmod.patch
URL: http://www.likewisesoftware.com/
BuildRequires: autoconf
BuildRequires: cups-devel
+BuildRequires: mono-compat-links
BuildRequires: samba-devel
BuildRequires: krb5-devel
BuildRequires: rpmbuild(macros) >= 1.228
@@ -25,11 +27,10 @@
%prep
%setup -q -n %{name}-%{version}-release
+%patch0 -p1
%build
cd winbindd/source
-%{__autoconf} -I m4 -I lib/replace
-%{__autoheader}
%configure \
--with-configdir=%{_sysconfdir}/samba \
--with-lockdir=%{_var}/lib/%{name} \
@@ -52,11 +53,8 @@
cd domainjoin
%{__autoconf}
%{__autoheader}
-%configure \
- --with-configdir=%{_sysconfdir}/samba \
- --with-lockdir=/var/lib/%{name} \
- --with-logfilebase=/var/log/%{name} \
- --with-piddir=/var/run
+%configure
+
cd -
%{__make}
@@ -64,23 +62,38 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/bin
+install -d $RPM_BUILD_ROOT/%{_lib}/security
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%pre
+%{__mv} $RPM_BUILD_ROOT/usr/lib/samba/security/pam_lwidentity.so $RPM_BUILD_ROOT/%{_lib}/security
-%post
+%ifarch %{x8664}
+install -d $RPM_BUILD_ROOT%{_libdir}/samba
+%{__mv} $RPM_BUILD_ROOT/usr/lib/samba/libwbclient.so $RPM_BUILD_ROOT%{_libdir}/samba/libwbclient.so
+%{__mv} $RPM_BUILD_ROOT/usr/lib/samba/idmap $RPM_BUILD_ROOT%{_libdir}/samba/
+%endif
-%preun
+%clean
+rm -rf $RPM_BUILD_ROOT
-%postun
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/domainjoin-cli
+%attr(755,root,root) %{_bindir}/lwiinfo
+%attr(755,root,root) %{_bindir}/lwimsg
+%attr(755,root,root) %{_bindir}/lwinet
+%attr(755,root,root) %{_libdir}/samba/libwbclient.so
+%attr(755,root,root) %{_sbindir}/likewise-winbindd
+%{_includedir}/samba/wbclient.h
+%attr(755,root,root) /%{_lib}/security/pam_lwidentity.so
+%dir %{_libdir}/samba/idmap
+%attr(755,root,root) %{_libdir}/samba/idmap/lwopen.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -88,6 +101,16 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2009/03/07 19:37:08 duddits
+- rel. 0.2
+- BR: mono-compat-links
+- patch for open() added
+- autotools dropped from phase 1 (probably spec needs more work here)
+- some dirty hacks in %install have been added
+- cleaning
+- %files
+- builds, needs testing
+
Revision 1.2 2008/02/24 02:18:16 wolvverine
-BR, NFY
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/likewise-open.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list