SPECS: anyfs-tools.spec - BR fixes, proper -devel contents

qboosh qboosh at pld-linux.org
Thu Jan 10 23:00:55 CET 2008


Author: qboosh                       Date: Thu Jan 10 22:00:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR fixes, proper -devel contents

---- Files affected:
SPECS:
   anyfs-tools.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/anyfs-tools.spec
diff -u SPECS/anyfs-tools.spec:1.24 SPECS/anyfs-tools.spec:1.25
--- SPECS/anyfs-tools.spec:1.24	Thu Nov  8 23:40:44 2007
+++ SPECS/anyfs-tools.spec	Thu Jan 10 23:00:50 2008
@@ -1,9 +1,5 @@
 # $Revision$, $Date$
 #
-# TODO:
-# - make subpackage for libany.a ( -libany or just -static)
-
-#
 # Conditional build:
 %bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_without	kernel		# don't build 'any' kernel module
@@ -27,9 +23,10 @@
 BuildRequires:	rpmbuild(macros) >= 1.379
 %endif
 %if %{with userspace}
+BuildRequires:	bzip2-devel
 BuildRequires:	libfuse-devel >= 2.5
-BuildRequires:	mjpegtools-devel
 BuildRequires:	mpeg2dec-devel
+BuildRequires:	pkgconfig
 BuildRequires:	xfsprogs-devel >= 2.8.11
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -171,6 +168,10 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%if "%{_lib}" != "lib"
+mv -f $RPM_BUILD_ROOT%{_prefix}/lib $RPM_BUILD_ROOT%{_libdir}
+%endif
+
 %find_lang %{name}
 %endif
 
@@ -192,18 +193,19 @@
 %defattr(644,root,root,755)
 %doc README THANKS
 %lang(ru) %doc README.ru
-%attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_bindir}/anyfuse
-%{_mandir}/man3/*
+%attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man5/*
 %{_mandir}/man8/*
-%lang(ru) %{_mandir}/ru/man3/*
 %lang(ru) %{_mandir}/ru/man5/*
 %lang(ru) %{_mandir}/ru/man8/*
 
 %files devel
 %defattr(644,root,root,755)
+%{_libdir}/libany.a
 %{_includedir}/anyfs-tools
+%{_mandir}/man3/*
+%lang(ru) %{_mandir}/ru/man3/*
 %endif
 
 %if %{with kernel}
@@ -219,6 +221,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2008-01-10 22:00:50  qboosh
+- BR fixes, proper -devel contents
+
 Revision 1.24  2007-11-08 22:40:44  zbyniu
 - up to 0.84.12, blksize.patch obsoleted
 - some BRs if with userspace
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/anyfs-tools.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list