packages: libktorrent/libktorrent.spec - %files - devel subpackage

shadzik shadzik at pld-linux.org
Tue Jun 1 16:38:42 CEST 2010


Author: shadzik                      Date: Tue Jun  1 14:38:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- %files
- devel subpackage

---- Files affected:
packages/libktorrent:
   libktorrent.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/libktorrent/libktorrent.spec
diff -u packages/libktorrent/libktorrent.spec:1.1 packages/libktorrent/libktorrent.spec:1.2
--- packages/libktorrent/libktorrent.spec:1.1	Tue Jun  1 16:30:27 2010
+++ packages/libktorrent/libktorrent.spec	Tue Jun  1 16:38:36 2010
@@ -9,11 +9,11 @@
 Summary(pl.UTF-8):	libktorrent
 Name:		libktorrent
 Version:	1.0.0
-Release:	0.1
+Release:	1
 License:	GPL
 Group:		X11/Libraries
 Source0:	http://ktorrent.org/downloads/4.0/%{name}-%{version}.tar.bz2
-# Source0-md5:
+# Source0-md5:	b409ef0381343d998abce8c85073f7d3
 URL:		http://ktorrent.org/
 BuildRequires:	automoc4 >= 0.9.88
 BuildRequires:	cmake >= 2.8.0
@@ -24,10 +24,22 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-libktorrent.
+Ktorrent library.
 
 %description -l pl.UTF-8
-libktorrent.
+Biblioteka ktorrent.
+
+%package devel
+Summary:        Header files for ktorrent library
+Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki ktorrent
+Group:          Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for ktorrent library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki ktorrent.
 
 %prep
 %setup -q
@@ -50,11 +62,24 @@
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name} --with-kde
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libktorrent.so.?
+%attr(755,root,root) %{_libdir}/libktorrent.so.*.*.*
+
+%files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libktorrent.so
+%{_includedir}/libktorrent
+%{_datadir}/apps/cmake/modules/FindKTorrent.cmake
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +87,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/06/01 14:38:36  shadzik
+- %files
+- devel subpackage
+
 Revision 1.1  2010/06/01 14:30:27  shadzik
 - init
 - NFY
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libktorrent/libktorrent.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list