SPECS: encfs.spec - make usable

saq saq at pld-linux.org
Thu Jun 16 00:53:24 CEST 2005


Author: saq                          Date: Wed Jun 15 22:53:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make usable

---- Files affected:
SPECS:
   encfs.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/encfs.spec
diff -u SPECS/encfs.spec:1.4 SPECS/encfs.spec:1.5
--- SPECS/encfs.spec:1.4	Wed Jun  8 21:39:26 2005
+++ SPECS/encfs.spec	Thu Jun 16 00:53:17 2005
@@ -9,11 +9,13 @@
 Source0:	http://arg0.net/users/vgough/download/%{name}-%{version}-2.tgz
 # Source0-md5:	10a7fd97006a2b2f4f0347cd85048204
 URL:		http://arg0.net/users/vgough/encfs.html
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	libfuse-devel >= 2.2
+BuildRequires:	libtool
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	pkgconfig
 BuildRequires:	rlog-devel
-Requires:	fusermount > 2.2
 Requires:	rlog >= 1.3
 Buildroot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,6 +38,11 @@
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--enable-debug=no
 %{__make}
@@ -46,15 +53,22 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# No public headers => no need for devel files
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
 %find_lang %{name}
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,adm) %{_bindir}/encfs*
+%attr(755,root,root) %{_bindir}/encfs*
+%attr(755,root,root) %{_libdir}/*.so.*
 %{_mandir}/man1/*.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -63,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/06/15 22:53:17  saq
+- make usable
+
 Revision 1.4  2005/06/08 19:39:26  mwinkler
 - updated to 1.2.2, rel 0.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/encfs.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list