Author: glen                         Date: Tue Jun 21 19:21:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create mysqldiff package (that's the original name of the project)

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

---- Diffs:

================================================================
Index: SPECS/perl-MySQL-Diff.spec
diff -u SPECS/perl-MySQL-Diff.spec:1.4 SPECS/perl-MySQL-Diff.spec:1.5
--- SPECS/perl-MySQL-Diff.spec:1.4      Sat Nov 27 18:30:16 2004
+++ SPECS/perl-MySQL-Diff.spec  Tue Jun 21 21:21:43 2005
@@ -1,4 +1,6 @@
 # $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)
@@ -6,11 +8,10 @@
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    MySQL
 %define                pnam    Diff
-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-%{pdir}-%{pnam}
+Name:          mysqldiff
+Summary:       Perl script which compares the table definitions of two MySQL 
databases
 Version:       0.33
-Release:       1
+Release:       1.1
 License:       GPL
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -23,10 +24,26 @@
 BuildRequires: mysql-client
 %endif
 Requires:      perl-Class-MakeMethods
+Requires:      perl-%{pdir}-%{pnam}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+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
+commands suitable for piping into mysql which will transform the
+structure of the first database to be identical to that of the second
+(c.f. diff and patch). Database structures can be compared whether
+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.
 
@@ -51,7 +68,6 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# mysqldiff binary is not installed somewhy by perl
 install -d $RPM_BUILD_ROOT%{_bindir}
 install mysqldiff $RPM_BUILD_ROOT%{_bindir}
 
@@ -60,8 +76,11 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README
 %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
 %{perl_vendorlib}/MySQL/Diff.pm
@@ -74,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/06/21 19:21:43  glen
+- create mysqldiff package (that's the original name of the project)
+
 Revision 1.4  2004/11/27 17:30:16  qboosh
 - pl, cosmetics
 
================================================================

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

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

Reply via email to