SPECS: libppskype.spec - pl, separated -devel,-static; todo: devel...

qboosh qboosh at pld-linux.org
Sun Jan 14 20:42:50 CET 2007


Author: qboosh                       Date: Sun Jan 14 19:42:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, separated -devel,-static; todo: devel deps

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

---- Diffs:

================================================================
Index: SPECS/libppskype.spec
diff -u SPECS/libppskype.spec:1.4 SPECS/libppskype.spec:1.5
--- SPECS/libppskype.spec:1.4	Thu Jan 11 01:08:25 2007
+++ SPECS/libppskype.spec	Sun Jan 14 20:42:44 2007
@@ -1,7 +1,6 @@
 # $Revision$, $Date$
-# TODO
-# - devel, shared library and -static
 Summary:	++Skype library
+Summary(pl):	Biblioteka ++Skype
 Name:		libppskype
 Version:	0
 Release:	0.1
@@ -22,6 +21,35 @@
 ++Skype library is a new, modern way to develop platform independent
 Skype add-on software.
 
+%description -l pl
+Biblioteka ++Skype to nowy, nowoczesny sposób tworzenia dodatków do
+Skype'a niezależnych od platformy.
+
+%package devel
+Summary:	Header files for ++Skype library
+Summary(pl):	Pliki nagłówkowe biblioteki ++Skype
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+#Requires:	FILLME (boost,dbus,loki-devel???)
+
+%description devel
+Header files for ++Skype library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki ++Skype.
+
+%package static
+Summary:	Static ++Skype library
+Summary(pl):	Statyczna biblioteka ++Skype
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static ++Skype library.
+
+%description static -l pl
+Statyczna biblioteka ++Skype.
+
 %prep
 %setup -q -n libskype
 %patch0 -p1
@@ -33,6 +61,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} -f Makefile.unx install  \
 	INSTALL_DIR=$RPM_BUILD_ROOT
 
@@ -43,12 +72,21 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc TODO
+%attr(755,root,root) %{_libdir}/libppskype.so
+
+%files devel
+%defattr(644,root,root,755)
 %{_includedir}/libppskype
+
+%files static
+%defattr(644,root,root,755)
 %{_libdir}/libppskype.a
-%attr(755,root,root) %{_libdir}/libppskype.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -56,6 +94,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/01/14 19:42:44  qboosh
+- pl, separated -devel,-static; todo: devel deps
+
 Revision 1.4  2007/01/11 00:08:25  glen
 - optflags
 
================================================================

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



More information about the pld-cvs-commit mailing list