packages (DEVEL): mysql-proxy/mysql-proxy.spec - libs and devel subpackages...

pawelz pawelz at pld-linux.org
Fri Jun 19 10:50:52 CEST 2009


Author: pawelz                       Date: Fri Jun 19 08:50:52 2009 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- libs and devel subpackages
- adapterized

---- Files affected:
packages/mysql-proxy:
   mysql-proxy.spec (1.16.2.2 -> 1.16.2.3) 

---- Diffs:

================================================================
Index: packages/mysql-proxy/mysql-proxy.spec
diff -u packages/mysql-proxy/mysql-proxy.spec:1.16.2.2 packages/mysql-proxy/mysql-proxy.spec:1.16.2.3
--- packages/mysql-proxy/mysql-proxy.spec:1.16.2.2	Fri Jun 19 00:39:47 2009
+++ packages/mysql-proxy/mysql-proxy.spec	Fri Jun 19 10:50:46 2009
@@ -13,7 +13,7 @@
 Release:	0.1
 License:	GPL
 Group:		Applications/Networking
-Source0:	ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/www.mysql.com/Downloads/MySQL-Proxy/mysql-proxy-0.7.1.tar.gz
+Source0:	ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/www.mysql.com/Downloads/MySQL-Proxy/%{name}-%{version}.tar.gz
 # Source0-md5:	009bc3e669fe42f5f8ac634d20226cf4
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
@@ -58,6 +58,29 @@
 balancing, failover, analizę zapytań, filtrowanie i modyfikowanie
 zapytań... i wiele więcej.
 
+%package libs
+Summary:	MySQL Proxy libraries
+Summary(pl.UTF-8):	Biblioteki MySQL Proxy
+Group:		Libraries
+
+%description libs
+MySQL Proxy libraries.
+
+%description libs -l pl.UTF-8
+Biblioteki MySQL Proxy.
+
+%package devel
+Summary:	Header files for MySQL Proxy libraries
+Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek MySQL Proxy
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for MySQL Proxy libraries.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe bibliotek MySQL Proxy.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -121,15 +144,33 @@
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %attr(755,root,root) %{_sbindir}/mysql-proxy
-%{_datadir}/%{name}
+# %{_datadir}/%{name}
 %dir %attr(775,root,mysqlproxy) /var/run/mysql-proxy
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmysql-proxy.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmysql-proxy.so.0
+%attr(755,root,root) %{_libdir}/libmysql-chassis.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmysql-chassis.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libmysql-proxy.so
+%{_libdir}/libmysql-chassis.so
+%{_libdir}/libmysql-proxy.la
+%{_libdir}/libmysql-chassis.la
+
 %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.16.2.3  2009/06/19 08:50:46  pawelz
+- libs and devel subpackages
+- adapterized
+
 Revision 1.16.2.2  2009/06/18 22:39:47  pawelz
 - decreased rel to 0.1 (it is not tested)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-proxy/mysql-proxy.spec?r1=1.16.2.2&r2=1.16.2.3&f=u



More information about the pld-cvs-commit mailing list