Author: qboosh                       Date: Thu Jun 23 18:09:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- handle mysqldiff as subpackage; added pl for it

---- Files affected:
SPECS:
   perl-MySQL-Diff.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/perl-MySQL-Diff.spec
diff -u SPECS/perl-MySQL-Diff.spec:1.5 SPECS/perl-MySQL-Diff.spec:1.6
--- SPECS/perl-MySQL-Diff.spec:1.5      Tue Jun 21 21:21:43 2005
+++ SPECS/perl-MySQL-Diff.spec  Thu Jun 23 20:09:31 2005
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO
-# - rename spec, or package mysqldiff program as subpackage?
 #
 # Conditional build:
 %bcond_with    tests   # perform "make test" (requires mysql server and access 
to test_* tables)
@@ -8,8 +6,9 @@
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    MySQL
 %define                pnam    Diff
-Name:          mysqldiff
-Summary:       Perl script which compares the table definitions of two MySQL 
databases
+Summary:       MySQL::Diff Perl module - comparing the table structure of two 
MySQL databases
+Summary(pl):   Moduł Perla MySQL::Diff - porównywanie struktury tabel dwóch 
baz danych MySQL
+Name:          perl-MySQL-Diff
 Version:       0.33
 Release:       1.1
 License:       GPL
@@ -24,11 +23,24 @@
 BuildRequires: mysql-client
 %endif
 Requires:      perl-Class-MakeMethods
-Requires:      perl-%{pdir}-%{pnam}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+MySQL::Diff is Perl module for comparing the table structure of two
+MySQL databases.
+
+%description -l pl
+MySQL::Diff to moduł Perla służący do porównywania struktury tabel
+dwóch baz danych MySQL.
+
+%package -n mysqldiff
+Summary:       Perl script which compares the table definitions of two MySQL 
databases
+Summary(pl):   Skrypt Perla porównujący definicje tabel dwóch baz danych MySQL
+Group:         Development/Languages/Perl
+Requires:      %{name} = %{version}-%{release}
+
+%description -n mysqldiff
 mysqldiff is a Perl script front-end to the CPAN module MySQL::Diff
 which compares the data structures (i.e. table definitions) of two
 MySQL databases, and returns the differences as a sequence of MySQL
@@ -38,18 +50,15 @@
 they are files containing table definitions or existing databases,
 local or remote.
 
-%package -n perl-%{pdir}-%{pnam}
-Summary:       MySQL::Diff Perl module - comparing the table structure of two 
MySQL databases
-Summary(pl):   Moduł Perla MySQL::Diff - porównywanie struktury tabel dwóch 
baz danych MySQL
-Group:         Development/Languages/Perl
-
-%description  -n perl-%{pdir}-%{pnam}
-MySQL::Diff is Perl module for comparing the table structure of two
-MySQL databases.
-
-%description -l pl
-MySQL::Diff to moduł Perla służący do porównywania struktury tabel
-dwóch baz danych MySQL.
+%description -n mysqldiff -l pl
+mysqldiff to skrypt Perla będący frontendem do modułu CPAN MySQL::Diff
+porównującego struktury danych (np. definicje tabel) dwóch baz danych
+MySQL i zwracający różnice jako sekwencje poleceń MySQL odpowiednie do
+przekierowania do polecenia mysql, które przekształci strukturę
+pierwszej bazy danych tak, aby była identyczna z drugą (podobnie jak
+diff i patch). Struktury bazy danych mogą być porównywane jeśli są
+plikami zawierającymi definicje tabel albo istniejącymi bazami -
+lokalnymi lub zdalnymi.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -76,10 +85,6 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/mysqldiff
-
-%files -n perl-%{pdir}-%{pnam}
-%defattr(644,root,root,755)
 %doc README
 %dir %{perl_vendorlib}/MySQL
 %{perl_vendorlib}/MySQL/Database.pm
@@ -87,12 +92,19 @@
 %{perl_vendorlib}/MySQL/Table.pm
 %{perl_vendorlib}/MySQL/Utils.pm
 
+%files -n mysqldiff
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mysqldiff
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/06/23 18:09:31  qboosh
+- handle mysqldiff as subpackage; added pl for it
+
 Revision 1.5  2005/06/21 19:21:43  glen
 - create mysqldiff package (that's the original name of the project)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-MySQL-Diff.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to