source: projects/specs/trunk/p/perl-Sort-Versions/perl-Sort-Versions-vl.spec @ 9081

Revision 9081, 3.8 KB checked in by inagaki, 9 years ago (diff)

2014-11-12 Ryoichi INAGAKI <ryo1@…>


Line 
1Name:           perl-Sort-Versions
2Version:        1.60
3Release:        1%{?_dist_release}
4Summary:        Perl module for sorting of revision-like numbers
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Sort-Versions/
8Source0:        http://www.cpan.org/modules/by-module/Sort/Sort-Versions-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildArch:      noarch
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(Test::More)
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18
19%description
20A perl 5 module for sorting of revision-like numbers
21
22Sort::Versions allows easy sorting of mixed non-numeric and numeric strings,
23like the 'version numbers' that many shared library systems and revision
24control packages use. This is quite useful if you are trying to deal with
25shared libraries. It can also be applied to applications that intersperse
26variable-width numeric fields within text. Other applications can
27undoubtedly be found.
28
29%prep
30%setup -q -n Sort-Versions-%{version}
31for f in Changes Versions.pm; do
32        iconv -f iso-8859-1 -t utf-8 <$f >${f}_ &&
33        touch -r $f ${f}_ &&
34        mv ${f}_ $f
35done
36
37%build
38%{__perl} Makefile.PL INSTALLDIRS=vendor
39make %{?_smp_mflags}
40
41%install
42rm -rf %{buildroot}
43make pure_install PERL_INSTALL_ROOT=%{buildroot}
44find %{buildroot} -depth \
45        -type f -name .packlist -exec rm -f {} ';' -o \
46        -type d -empty -exec rmdir {} ';'
47chmod -R u+w %{buildroot}/*
48
49%clean
50rm -rf %{buildroot}
51
52%check
53make test
54
55%files
56%defattr(-,root,root,-)
57%doc Changes
58%{perl_vendorlib}/Sort
59%{_mandir}/man3/*
60
61%changelog
62* Sun Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.60-1
63- updated to 1.60
64- built with perl 5.16.3
65
66* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5-1
67- initial build for Vine Linux
68
69* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-18
70- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
71
72* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.5-17
73- Perl mass rebuild
74
75* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-16
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
77
78* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-15
79- 661697 rebuild for fixing problems with vendorach/lib
80
81* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-14
82- Mass rebuild with perl-5.12.0
83
84* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.5-13
85- rebuild against perl 5.10.1
86
87* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-12
88- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89
90* Thu Mar 19 2009 Stepan Kasal <skasal@redhat.com> - 1.5-11
91- fix timestamps of the recoded text files
92
93* Mon Mar 16 2009 Stepan Kasal <skasal@redhat.com> - 1.5-10
94- Recode as UTF-8, fix argument order find with -depth (both by Paul Howarth)
95- Other minor cleanups
96
97* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
98- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
99
100* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-8
101- rebuild for new perl
102
103* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.5-7
104- Add BR: perl(Test::More).
105
106* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.5-6
107- Update license tag.
108- Reflect perl split.
109
110* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.5-5
111- Mass rebuild.
112
113* Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 1.5-4
114- Rebuild for perl-5.8.8.
115
116* Wed Aug 17 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-3
117- Spec cleanup.
118
119* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-2
120- FE re-submission.
121
122* Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-1
123- FE submission.
Note: See TracBrowser for help on using the repository browser.