source: projects/specs/trunk/p/perl-Algorithm-Diff/perl-Algorithm-Diff-vl.spec @ 5743

Revision 5743, 3.5 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Algorithm-Diff
2Version:        1.1902
3Release:        1%{?_dist_release}
4Summary:        Algorithm::Diff Perl module
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Algorithm-Diff/
8Source0:        http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11BuildRequires:  perl(ExtUtils::MakeMaker)
12Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13
14Vendor:         Project Vine
15Distribution:   Vine Linux
16Packager:       shaolin
17
18%description
19This is a module for computing the difference between two files, two
20strings, or any other two lists of things.  It uses an intelligent
21algorithm similar to (or identical to) the one used by the Unix "diff"
22program.  It is guaranteed to find the *smallest possible* set of
23differences.
24
25%prep
26%setup -q -n Algorithm-Diff-%{version}
27chmod 644 *.pl
28
29%build
30%{__perl} Makefile.PL
31make %{?_smp_mflags}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
37
38find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
39find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
40
41%{_fixperms} $RPM_BUILD_ROOT/*
42
43rm -f $RPM_BUILD_ROOT%{perl_sitelib}/Algorithm/*.pl
44
45%check
46make test
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(-,root,root,-)
53%doc Changes README *.pl
54%{perl_sitelib}/*
55%{_mandir}/man3/*
56
57%changelog
58* Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1902-1
59- initial build for Vine Linux
60
61* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-14
62- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
63
64* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1902-13
65- Perl mass rebuild
66
67* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-12
68- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
69
70* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-11
71- 661697 rebuild for fixing problems with vendorach/lib
72
73* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-10
74- Mass rebuild with perl-5.12.0
75
76* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.1902-9
77- rebuild against perl 5.10.1
78
79* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-8
80- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
81
82* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-7
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
84
85* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1902-6
86- Rebuild for perl 5.10 (again)
87
88* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-5
89- rebuild for new perl
90
91* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-4
92- fix license tag, rebuild for perl
93
94* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.1902-3
95- Use fixperms macro instead of our own chmod incantation.
96- BR ExtUtils::MakeMaker.
97
98* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 1.1902-2
99- Rebuild.
100
101* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
102- Update to 1.1902.
103- Minor spec cleanup to match current template/cpanspec output.
104
105* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
106- Updated to 1.1901.
107
108* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
109- Move example files to %%doc.
110
111* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
112- Specfile autogenerated.
Note: See TracBrowser for help on using the repository browser.