You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-SQL-Translator/perl-SQL-Translator.spec

368 lines
14 KiB

17 years ago
Name: perl-SQL-Translator
Summary: Manipulate structured data definitions (SQL and more)
7 years ago
Version: 0.11023
7 years ago
Release: 1%{?dist}
12 years ago
License: GPL+ or Artistic
10 years ago
Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/SQL-Translator-%{version}.tar.gz
17 years ago
URL: http://search.cpan.org/dist/SQL-Translator/
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
7 years ago
BuildRequires: perl-interpreter
10 years ago
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
10 years ago
BuildRequires: perl(File::Spec)
BuildRequires: perl(inc::Module::Install) >= 1.06
BuildRequires: perl(Module::Install::AuthorTests)
BuildRequires: perl(Module::Install::AutoInstall)
BuildRequires: perl(Module::Install::Makefile)
BuildRequires: perl(Module::Install::Metadata)
BuildRequires: perl(Module::Install::ReadmeFromPod)
BuildRequires: perl(Module::Install::Scripts)
BuildRequires: perl(Module::Install::Share)
BuildRequires: perl(Module::Install::WriteAll)
BuildRequires: perl(lib)
BuildRequires: perl(Module::Install::AuthorTests)
BuildRequires: perl(Parse::RecDescent) >= 1.967009
# SQL::Translator is used from lib
# SQL::Translator::Parser::XML is used from lib
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: sed
10 years ago
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Carp::Clan)
10 years ago
BuildRequires: perl(CGI)
BuildRequires: perl(CGI::Pretty)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DBI) >= 1.54
13 years ago
BuildRequires: perl(Digest::SHA)
10 years ago
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename)
10 years ago
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
13 years ago
BuildRequires: perl(File::ShareDir) >= 1.0
10 years ago
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(GD)
10 years ago
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Graph::Directed)
BuildRequires: perl(GraphViz)
10 years ago
BuildRequires: perl(IO::Dir)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(JSON) >= 2.0
BuildRequires: perl(List::Util)
12 years ago
BuildRequires: perl(Moo) >= 1.000003
10 years ago
BuildRequires: perl(Moo::Role)
BuildRequires: perl(overload)
12 years ago
BuildRequires: perl(Package::Variant) >= 1.001001
BuildRequires: perl(Pod::Usage)
13 years ago
BuildRequires: perl(Scalar::Util)
10 years ago
BuildRequires: perl(Spreadsheet::ParseExcel) >= 0.41
BuildRequires: perl(Storable)
12 years ago
BuildRequires: perl(Sub::Quote)
10 years ago
BuildRequires: perl(Template) >= 2.20
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(Text::RecordParser) >= 0.02
BuildRequires: perl(Try::Tiny) >= 0.04
BuildRequires: perl(vars)
BuildRequires: perl(XML::LibXML) >= 1.69
BuildRequires: perl(XML::LibXML::XPathContext)
BuildRequires: perl(XML::Writer) >= 0.500
BuildRequires: perl(YAML) >= 0.66
# Tests:
BuildRequires: perl(FindBin)
BuildRequires: perl(IO::File)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Symbol)
BuildRequires: perl(Test::Differences)
13 years ago
BuildRequires: perl(Test::Exception) >= 0.31
BuildRequires: perl(XML::Parser)
10 years ago
# Optional tests:
# DBD::Pg not needed because it requires preconfigures PostgreSQL database
# with DBICTEST_PG_* environemnt variables
# Test::PostgreSQL not yet packaged
BuildRequires: perl(Test::EOL) >= 1.1
BuildRequires: perl(Test::NoTabs) >= 1.1
BuildRequires: perl(Test::Pod) >= 1.14
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(CGI)
Requires: perl(CGI::Pretty)
Requires: perl(DBI) >= 1.54
13 years ago
Requires: perl(File::ShareDir) >= 1.0
10 years ago
Requires: perl(Graph::Directed)
Requires: perl(JSON) >= 2.0
Requires: perl(overload)
Requires: perl(Package::Variant) >= 1.001001
13 years ago
Requires: perl(Parse::RecDescent) >= 1.967009
10 years ago
Requires: perl(Spreadsheet::ParseExcel) >= 0.41
Requires: perl(Template) >= 2.20
Requires: perl(Test::More) >= 0.88
Requires: perl(Text::RecordParser) >= 0.02
Requires: perl(Try::Tiny) >= 0.04
Requires: perl(XML::LibXML) >= 1.69
13 years ago
Requires: perl(XML::Writer) >= 0.500
10 years ago
%{?perl_default_filter}
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DBI|File::ShareDir|JSON|Moo|Package::Variant|Parse::RecDescent|Spreadsheet::ParseExcel|Template|Test::More|Text::RecordParser|Try::Tiny|XML::LibXML)\\)$
# Remove badly detected requires (a grammar in the
# lib/SQL/Translator/Parser/Sybase.pm)
%global __requires_exclude %{__requires_exclude}|^perl\\(:\\)
17 years ago
%description
SQL::Translator is a group of Perl modules that converts vendor-specific
17 years ago
SQL table definitions into other formats, such as other vendor-specific
SQL, ER diagrams, documentation (POD and HTML), XML, and Class::DBI
classes. The main focus of SQL::Translator is SQL, but parsers exist
for other structured data formats, including Excel spreadsheets and
arbitrarily delimited text files. Through the separation of the code into
parsers and producers with an object model in between, its possible to
combine any parser with any producer, to plug in custom parsers or
17 years ago
producers, or to manipulate the parsed data via the built-in object model.
Presently only the definition parts of SQL are handled (CREATE, ALTER),
17 years ago
not the manipulation of data (INSERT, UPDATE, DELETE).
%package Producer-Diagram
Summary: ER diagram producer for SQL::Translator
%description Producer-Diagram
ER diagram producer for SQL::Translator.
17 years ago
%prep
%setup -q -n SQL-Translator-%{version}
10 years ago
# Remove bundled modules
rm -r inc
sed -i -e '/^inc\//d' MANIFEST
# Fix shell-bangs
sed -i -e '1 s|^#!/usr/bin/env perl|#!%{__perl}|' script/*
# Fix permission, CPAN RT#100532
chmod -x lib/SQL/Translator/Parser/JSON.pm
17 years ago
%build
10 years ago
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
17 years ago
%install
make pure_install DESTDIR=%{buildroot}
17 years ago
%{_fixperms} %{buildroot}/*
%check
make test
17 years ago
%files
10 years ago
%doc Changes README
17 years ago
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man[13]/*
%exclude %{perl_vendorlib}/SQL/Translator/Producer/Diagram.pm
%exclude %{_mandir}/man3/SQL::Translator::Producer::Diagram.*
%files Producer-Diagram
%{perl_vendorlib}/SQL/Translator/Producer/Diagram.pm
%{_mandir}/man3/SQL::Translator::Producer::Diagram.*
17 years ago
%changelog
7 years ago
* Mon Dec 11 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.11023-1
- 0.11023 bump
7 years ago
* Tue Dec 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.11022-1
- 0.11022 bump
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11021-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.11021-9
- Perl 5.26 rebuild
* Fri May 26 2017 Petr Pisar <ppisar@redhat.com> - 0.11021-8
- Adapt to changes in JSON-PP-0.92 (bug #1455782)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11021-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.11021-6
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11021-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11021-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
10 years ago
* Sun Jun 07 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.11021-3
- Perl 5.22 rebuild
* Mon Mar 02 2015 Petr Šabata <contyk@redhat.com> - 0.11021-2
- Avoid X11 dependency by Subpackaging SQL::Translator::Producer::Diagram
10 years ago
* Tue Feb 03 2015 Petr Šabata <contyk@redhat.com> - 0.11021-1
- 0.11021 bump
10 years ago
* Mon Nov 24 2014 Petr Pisar <ppisar@redhat.com> - 0.11020-1
- 0.11020 bump
11 years ago
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.11016-4
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11016-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11016-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12 years ago
* Thu Feb 21 2013 Iain Arnell <iarnell@gmail.com> 0.11016-1
- update to latest upstream version
- license change from GPLv2 to GPL+ or Artistic (aka 'same as Perl')
- drop provides for SQL::Translator::Schema::Graph::*
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11012-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
13 years ago
* Sun Jul 29 2012 Iain Arnell <iarnell@gmail.com> 0.11012-1
- update to latest upstream version
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11011-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Fri Jun 29 2012 Petr Pisar <ppisar@redhat.com> - 0.11011-3
- Perl 5.16 rebuild
* Tue May 15 2012 Iain Arnell <iarnell@gmail.com> 0.11011-2
- add provides for SQL::Translator::Schema::Graph::*
13 years ago
* Sun May 13 2012 Iain Arnell <iarnell@gmail.com> 0.11011-1
- update to latest upstream version
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.11010-3
- drop tests subpackage; move tests to main package documentation
- drop old-style filtering
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11010-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
13 years ago
* Wed Oct 12 2011 Iain Arnell <iarnell@gmail.com> 0.11010-1
- update to latest upstream version
- clean up spec for modern rpmbuild
- remove unnecessary explicit requires
* Thu Jul 21 2011 Iain Arnell <iarnell@gmail.com> 0.11006-6
- update filtering for rpm 4.9
14 years ago
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.11006-5
- Perl mass rebuild
14 years ago
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.11006-4
- Perl mass rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11006-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11006-2
- 661697 rebuild for fixing problems with vendorach/lib
15 years ago
* Thu Sep 02 2010 Iain Arnell <iarnell@gmail.com> 0.11006-1
- update to latest upstream version
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11005-3
- Mass rebuild with perl-5.12.0
* Tue Mar 16 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.11005-2
- fix deps on perl(Parse::RecDescent)... again :\
* Sat Mar 13 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.11005-1
- update by Fedora::App::MaintainerTools 0.006
- updating to latest GA CPAN version (0.11005)
- altered br on perl(Parse::RecDescent) (1.963 => 1.962002)
- added manual BR on perl(Template) (or override to 0)
- added manual BR on perl(Text::RecordParser) (or override to 0)
- added manual BR on perl(XML::XPath) (or override to 0)
- altered req on perl(Parse::RecDescent) (1.963 => 1.962002)
* Wed Feb 10 2010 Paul Howarth <paul@city-fan.org> 0.11003-3
- fix broken deps for perl(Parse::RecDescent)
- altered br on perl(Parse::RecDescent) (1.962002 => 1.963)
- altered req on perl(Parse::RecDescent) (1.962002 => 1.963)
* Fri Feb 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.11003-2
- PERL_INSTALL_ROOT => DESTDIR
- add perl_default_subpackage_tests
* Sat Jan 16 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.11003-1
- add br on XML::LibXML
- auto-update to 0.11003 (by cpan-spec-update 0.01)
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.11002-1
- auto-update to 0.11002 (by cpan-spec-update 0.01)
- altered br on perl(Parse::RecDescent) (1.096 => 1.962002)
- altered req on perl(Parse::RecDescent) (1.096 => 1.962002)
* Mon Aug 24 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.11001-1
- auto-update to 0.11001 (by cpan-spec-update 0.01)
- added a new br on perl(Carp::Clan) (version 0)
- altered br on perl(Digest::SHA1) (2.00 => 2)
- added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
- added a new br on perl(File::ShareDir) (version 1)
- altered br on perl(IO::Scalar) (0 => 2.11)
- altered br on perl(Parse::RecDescent) (1.94 => 1.096)
- altered br on perl(YAML) (0.39 => 0.66)
- added a new br on CPAN (inc::Module::AutoInstall found)
- added a new req on perl(Carp::Clan) (version 0)
- added a new req on perl(Class::Base) (version 0)
- altered req on perl(Class::Data::Inheritable) (0 => 0.02)
- added a new req on perl(Class::MakeMethods) (version 0)
- added a new req on perl(DBI) (version 0)
- added a new req on perl(Digest::SHA1) (version 2)
- added a new req on perl(File::ShareDir) (version 1)
- added a new req on perl(File::Spec) (version 0)
- added a new req on perl(IO::Dir) (version 0)
- added a new req on perl(IO::Scalar) (version 2.11)
- added a new req on perl(Parse::RecDescent) (version 1.096)
- added a new req on perl(Pod::Usage) (version 0)
- added a new req on perl(XML::Writer) (version 0.5)
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09004-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed May 27 2009 Iain Arnell <iarnell@gmail.com> 0.09004-2
- add missing requires Class::Accessor::Fast and Class::Data::Inheritable
* Sun Mar 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.09004-1
- update to 0.09004
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09002-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Feb 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.09002-1
- update to 0.09002
* Sun Sep 07 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.9001-1
- update to 0.9001
- add new BR: perl(Digest::SHA1) >= 2.00
* Wed Mar 19 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.09000-1
- update to 0.09000
- expose more core BR's
- additional br's now required
17 years ago
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.08001-3
- Rebuild for new perl
17 years ago
17 years ago
* Wed Oct 24 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.08001-2
- bump
17 years ago
* Sun Oct 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.08001-1
- updated to 0.08001
- update license tag
- nix errant perl(Producer::BaseTest) provides
- make description useful :)
- we now skip Template::Toolkit tests correctly, so stop disabling them
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.08-1
- Specfile autogenerated by cpanspec 1.71.