]> git.pld-linux.org Git - packages/anyfs-tools.git/commitdiff
- BR fixes, proper -devel contents master
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 10 Jan 2008 22:00:50 +0000 (22:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anyfs-tools.spec -> 1.25

anyfs-tools.spec

index 830e3655691b1c7ead3ec9ee4f38d19a2f9cf481..11ee0527b64c74f9c23f6e0716cf78ef3d273f5c 100644 (file)
@@ -1,7 +1,3 @@
-#
-# TODO:
-# - make subpackage for libany.a ( -libany or just -static)
-
 #
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
@@ -26,9 +22,10 @@ URL:         http://anyfs-tools.sourceforge.net/
 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)
@@ -170,6 +167,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
 
@@ -191,18 +192,19 @@ rm -rf $RPM_BUILD_ROOT
 %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}
This page took 0.053241 seconds and 4 git commands to generate.