Browse Source

* new packages

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5863 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
60341975c2
2 changed files with 316 additions and 0 deletions
  1. 170 0
      p/perl-Config-General/perl-Config-General-vl.spec
  2. 146 0
      p/perl-JSON-XS/perl-JSON-XS-vl.spec

+ 170 - 0
p/perl-Config-General/perl-Config-General-vl.spec

@@ -0,0 +1,170 @@
+Name:           perl-Config-General
+Version:        2.50
+Release:        1%{?_dist_release}
+Summary:        Generic configuration module for Perl
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Config-General/
+Source0:        http://www.cpan.org/authors/id/T/TL/TLINDEN/Config-General-%{version}.tar.gz
+Patch0:         %{name}-2.50-system-ixhash.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Carp::Heavy)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Tie::IxHash)
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module opens a config file and parses its contents for
+you. After parsing the module returns a hash structure which contains
+the representation of the config file.
+The format of config files supported by Config::General is inspired by
+the well known Apache config format, in fact, this module is 100%
+read-compatible with Apache configs, but you can also just use simple
+name/value pairs in your config files.
+In addition to the capabilities of an Apache config file it supports
+some enhancements such as here-documents, C-style comments or
+multiline options. It is also possible to save the config back to
+disk, which makes the module a perfect backend for configuration
+interfaces.
+It is possible to use variables in config files and there exists also
+support for object oriented access to the configuration.
+
+
+%prep
+%setup -q -n Config-General-%{version}
+%patch0 -p1
+rm -r t/Tie # see patch0
+f=Changelog ; iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f ; mv $f.utf8 $f
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changelog README example.cfg
+%{perl_vendorlib}/Config/
+%{_mandir}/man3/Config::*.3*
+
+
+%changelog
+* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.50-1
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.50-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Sep 13 2011 Petr Pisar <ppisar@redhat.com> - 2.50-5
+- Build-require Carp because Carp dual-lives now (bug #736768)
+
+* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.50-4
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.50-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.50-2
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Thu Dec  2 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.50-1
+- Update to 2.50, fixes #658945, #659046.
+
+* Tue Jun 29 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.49-2
+- Rebuild.
+
+* Tue Jun  8 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.49-1
+- Update to 2.49 (#601611).
+
+* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.48-2
+- Mass rebuild with perl-5.12.0
+
+* Fri Apr 23 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.48-1
+- Update to 2.48.
+- Sync with current rpmdevtools Perl spec template.
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.44-2
+- rebuild against perl 5.10.1
+
+* Tue Sep  8 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.44-1
+- Update to 2.44 (#521756).
+- Prune pre-2005 %%changelog entries.
+
+* Sun Jul 26 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.43-1
+- Update to 2.43 (#513796).
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Jan  4 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.42-1
+- 2.42.
+- Patch test suite to use system installed Tie::IxHash.
+- Fix some spelling errors in %%description.
+- Use Source0: instead of Source:.
+
+* Sat Jun 21 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.40-1
+- 2.40.
+
+* Tue Jun 17 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.39-1
+- 2.39.
+
+* Tue Mar  4 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.38-1
+- 2.38.
+
+* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.37-2
+- rebuild for new perl
+
+* Tue Nov 27 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.37-1
+- 2.37 (#398801).
+- Convert docs to UTF-8.
+
+* Tue Aug  7 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.33-2
+- License: GPL+ or Artistic
+
+* Wed Apr 18 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.33-1
+- 2.33.
+- BuildRequire perl(ExtUtils::MakeMaker) and perl(Test::More).
+
+* Sat Feb 24 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.32-1
+- 2.32.
+
+* Tue Aug 29 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.31-2
+- Fix order of arguments to find(1).
+- Drop version from perl build dependency.
+
+* Thu Jan 12 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.31-1
+- 2.31.
+
+* Fri Sep 16 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.30-1
+- 2.30.
+
+* Wed May 18 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.28-2
+- 2.28.
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.27-2
+- rebuilt

+ 146 - 0
p/perl-JSON-XS/perl-JSON-XS-vl.spec

@@ -0,0 +1,146 @@
+Name:           perl-JSON-XS
+Summary:        JSON serialising/deserialising, done correctly and fast
+Epoch:          1
+Version:        2.32
+Release:        1%{?_dist_release}
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/JSON-XS/
+Source0:        http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+BuildRequires:  perl(common::sense)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+
+Requires:       perl(common::sense)
+
+%{?perl_default_filter}
+%{?perl_default_subpackage_tests}
+
+%description
+This module converts Perl data structures to JSON and vice versa. Its
+primary goal is to be correct and its secondary goal is to be fast. To
+reach the latter goal it was written in C.
+
+%prep
+%setup -q -n JSON-XS-%{version}
+
+sed -i 's/\r//' t/*
+perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
+chmod -c -x eg/*
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%doc Changes COPYING README eg/
+%{perl_vendorarch}/*
+%exclude %dir %{perl_vendorarch}/auto
+%{_bindir}/*
+%{_mandir}/man[13]/*
+
+%changelog
+* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:2.32-1
+- initial build for Vine Linux
+
+* Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1:2.32-1
+- Update to 2.32
+- Clean up spec file
+
+* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-3
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Oct 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-1
+- update
+
+* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:2.27-2
+- Mass rebuild with perl-5.12.0
+
+* Sat Feb 27 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:2.27-1
+- update by Fedora::App::MaintainerTools 0.004
+- PERL_INSTALL_ROOT => DESTDIR
+- added a new br on perl(common::sense) (version 0)
+- added a new req on perl(common::sense) (version 0)
+
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:2.24-3
+- rebuild against perl 5.10.1
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.24-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Jun 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.24-1
+- auto-update to 2.24 (by cpan-spec-update 0.01)
+
+* Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.2311-4
+- Stripping bad provides of private Perl extension libs
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.2311-1
+- update to 2.2311
+
+* Sun Sep 07 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2222-1
+- update to the increasingly silly version of 2.2222
+- update files to include bin
+
+* Wed Jun 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.21-1
+- update to 2.21
+
+* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2-1
+- update to 2.2
+
+* Sun Mar 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.01-1
+- update to 2.x series before F9
+
+* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.52-3
+Rebuild for new perl
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.52-2
+- Autorebuild for GCC 4.3
+
+* Wed Oct 17 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.52-1
+- update to 1.52
+- license tag update: GPL -> GPL+
+
+* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-2
+- bump
+
+* Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-1
+- update to 1.43
+
+* Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.22-1
+- update to 1.22
+
+* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-3
+- bump
+
+* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-2
+- add eg/ to doc
+
+* Sun May 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-1
+- Specfile autogenerated by cpanspec 1.71.