SPECS: libkipi.spec - rel 2; add static library; fix linking (__ds...

arekm arekm at pld-linux.org
Mon Dec 25 16:02:46 CET 2006


Author: arekm                        Date: Mon Dec 25 15:02:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2; add static library; fix linking (__dso_handle issue)

---- Files affected:
SPECS:
   libkipi.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/libkipi.spec
diff -u SPECS/libkipi.spec:1.19 SPECS/libkipi.spec:1.20
--- SPECS/libkipi.spec:1.19	Wed Dec 20 17:17:05 2006
+++ SPECS/libkipi.spec	Mon Dec 25 16:02:41 2006
@@ -3,12 +3,13 @@
 Summary(pl):	Biblioteka interfejsu przetwarzania obrazu w KDE
 Name:		libkipi
 Version:	0.1.5
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/kipi/%{name}-%{version}.tar.bz2
 # Source0-md5:	aef790871583444cd81bd9dea9c3fd0b
 URL:		http://extragear.kde.org/apps/kipi/
+Patch0:		kde-ac260-lt.patch
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gettext-devel
@@ -37,14 +38,29 @@
 %description devel -l pl
 Pliki nagłówkowe dla programistów używających libkipi.
 
+%package static
+Summary:	Static libkipi library
+Summary(pl):	Biblioteka statyczna libkipi
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static libkipi library.
+
+%description static -l pl
+Biblioteka statyczna libkipi.
+
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
+	--enable-shared \
+	--enable-static \
 	--disable-rpath \
 	--enable-final \
 	--with-qt-libraries=%{_libdir}
@@ -80,12 +96,19 @@
 %{_pkgconfigdir}/*.pc
 %{_includedir}/libkipi
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.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.20  2006/12/25 15:02:41  arekm
+- rel 2; add static library; fix linking (__dso_handle issue)
+
 Revision 1.19  2006/12/20 16:17:05  rotom
 - up 0.1.5
 - removed obsolotes patches
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libkipi.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list