SPECS: mysqlcppapi.spec - unified examplesdir, base docs to base, ...

qboosh qboosh at pld-linux.org
Fri Jan 13 20:38:26 CET 2006


Author: qboosh                       Date: Fri Jan 13 19:38:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unified examplesdir, base docs to base, cosmetics

---- Files affected:
SPECS:
   mysqlcppapi.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/mysqlcppapi.spec
diff -u SPECS/mysqlcppapi.spec:1.1 SPECS/mysqlcppapi.spec:1.2
--- SPECS/mysqlcppapi.spec:1.1	Wed Jan 11 17:24:52 2006
+++ SPECS/mysqlcppapi.spec	Fri Jan 13 20:38:20 2006
@@ -6,14 +6,14 @@
 Release:	1
 License:	LGPL
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:	http://dl.sourceforge.net/mysqlcppapi/%{name}-%{version}.tar.gz
 # Source0-md5:	2479e6ab1f0f490119ead67e254fed3b
 Patch0:		%{name}-mysql-4.1.patch
 URL:		http://www.advogato.org/proj/mysqlcppapi/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
-BuildRequires:	libtool
+BuildRequires:	libtool >= 2:1.5
 BuildRequires:	mysql-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,18 +27,19 @@
 Summary:	C++ interface to MySQL Database (headers)
 Summary(pl):	Interfejs C++ do bazy MySQL (pliki nagłówkowe)
 Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 Requires:	libstdc++-devel
 Requires:	mysql-devel
-Requires:	%{name} = %{version}-%{release}
 
 %description devel
-Mysqlcppapi is a C++ interface to MySQL API. Package contains the
+Mysqlcppapi is a C++ interface to MySQL API. This package contains the
 development header files necessary to develop MySQL client
 applications using Mysql++.
 
 %description devel -l pl
-Mysqlcppapi jest interfejsem C++ do API MySQL. Paczka zawiera nagłówki
-potrzebne do rozwoju aplikacji klienckich używających Mysql++.
+Mysqlcppapi jest interfejsem C++ do API MySQL. Ten pakiet zawiera
+pliki nagłówkowe potrzebne do rozwoju aplikacji klienckich używających
+Mysql++.
 
 %package static
 Summary:	C++ interface to MySQL Database (static libraries)
@@ -47,12 +48,12 @@
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-Mysqlcppapi is a C++ interface to MySQL API. Package contains the static
-libraries.
+Mysqlcppapi is a C++ interface to MySQL API. This package contains the
+static libraries.
 
 %description static -l pl
-Mysqlcppapi jest interfejsem C++ do API MySQL. Paczka zawiera biblioteki
-statyczne.
+Mysqlcppapi jest interfejsem C++ do API MySQL. Ten pakiet zawiera
+biblioteki statyczne.
 
 %prep
 %setup -q
@@ -69,13 +70,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT%{_examplesdir}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install examples/*.cc $RPM_BUILD_ROOT%{_examplesdir}
+install examples/*.cc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -85,16 +85,16 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README TODO ChangeLog AUTHORS NEWS 
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc README TODO ChangeLog AUTHORS NEWS 
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}/*
 %{_pkgconfigdir}/*.pc
-%{_examplesdir}/*.cc
+%{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
@@ -106,6 +106,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/01/13 19:38:20  qboosh
+- unified examplesdir, base docs to base, cosmetics
+
 Revision 1.1  2006/01/11 16:24:52  baggins
 - initial revision by Sebastian Zagrodzki <zagrodzki at pld-linux.org>
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mysqlcppapi.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list