SPECS: liblazy.spec - build static library too

shadzik shadzik at pld-linux.org
Fri Apr 6 00:32:15 CEST 2007


Author: shadzik                      Date: Thu Apr  5 22:32:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build static library too

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

---- Diffs:

================================================================
Index: SPECS/liblazy.spec
diff -u SPECS/liblazy.spec:1.4 SPECS/liblazy.spec:1.5
--- SPECS/liblazy.spec:1.4	Fri Apr  6 00:25:41 2007
+++ SPECS/liblazy.spec	Fri Apr  6 00:32:10 2007
@@ -24,6 +24,18 @@
 informacji z HAL-a lub odpytywania PolicyKit o uprawnienia. Możliwości
 biblioteki mogą jednak rosnąć w razie potrzeby.
 
+%package static
+Summary:        Static liblazy library
+Summary(pl.UTF-8):      Statyczna bibliotekia liblazy
+Group:          Development/Libraries
+Requires:       %{name}-devel = %{version}-%{release}
+
+%description static
+Static liblazy library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka liblazy.
+
 %package devel
 Summary:	Header files for liblazy
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki liblazy
@@ -40,8 +52,7 @@
 %setup -q
 
 %build
-%configure \
-	--enable-static=no
+%configure
 %{__make}
 
 %install
@@ -67,12 +78,19 @@
 %{_includedir}/liblazy.h
 %{_pkgconfigdir}/lazy.pc
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/liblazy.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/04/05 22:32:10  shadzik
+- build static library too
+
 Revision 1.4  2007/04/05 22:25:41  shadzik
 - BR dbus-devel >= 1.0
 
================================================================

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



More information about the pld-cvs-commit mailing list