]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- static bcond in files and configure
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 17 Jul 2010 18:12:54 +0000 (18:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- verbose files

Changed files:
    lib.spec -> 1.16

lib.spec

index 66bec4fac53b0786475217926fa62b9ca2511321..dbfeecccff52b15db391b610cfe314c4742650d7 100644 (file)
--- a/lib.spec
+++ b/lib.spec
@@ -75,7 +75,8 @@ Dokumentacja API biblioteki FOO.
 #%{__autoconf}
 #%{__autoheader}
 #%{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -96,21 +97,23 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libFOO.so.*.*.*
 %{_datadir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
 %doc devel-doc/*
-%{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%{_libdir}/libFOO.so
+%{_libdir}/libFOO.la
 %{_includedir}/foo
-%{_aclocaldir}/*.m4
-%{_pkgconfigdir}/*.pc
+%{_aclocaldir}/FOO.m4
+%{_pkgconfigdir}/FOO.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libFOO.a
+%endif
 
 %if %{with apidocs}
 %files apidocs
This page took 0.039575 seconds and 4 git commands to generate.