source: projects/specs/trunk/p/perl-Image-Size/perl-Image-Size-vl.spec @ 9146

Revision 9146, 3.2 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-Image-{Base, Size}, perl-Net-{CIDR, DBus, Frame}, perl-Pod-{Coverage-TrustPod?, PerldocJp?}: updated
  • perl-Net-{DBus-GLib, Frame-Simple, IPv4Addr, IPv6Addr, Interface, MAC}: rebuilt


Line 
1%define module  Image-Size
2%define name    perl-%{module}
3%define version 3.232
4%define release 1%{_dist_release}
5
6Name:           %{name}
7Version:        %{version}
8Release:        %{release}
9Summary:        Read the dimensions of an image in several popular formats
10License:        Artistic and GPL
11Group:          Development/Libraries
12URL:            http://search.cpan.org/dist/%{module}
13
14Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/%{module}-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18BuildRequires:  perl(Compress::Zlib)
19BuildRequires:  perl(File::Spec) >= 0.8
20BuildRequires:  perl(Module::Build) >= 0.4
21BuildRequires:  perl(Test::More) >= 0.80
22Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
23Requires:       perl(Compress::Zlib)
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27
28%description
29Image::Size is a library based on the image-sizing code in the wwwimagesize
30script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to
31IMG directives.
32
33%prep
34%setup -q -n %{module}-%{version}
35
36pushd lib/Image/
37iconv -f iso-8859-1 -t utf-8 -o Size.pm{.utf8,}
38mv Size.pm{.utf8,}
39popd
40
41
42%build
43%{__perl} Makefile.PL INSTALLDIRS="vendor"
44%{__make} %{?_smp_mflags}
45
46%install
47rm -rf %{buildroot}
48%{__make} pure_install DESTDIR=%{buildroot}
49
50find %{buildroot} -type f -name .packlist -exec rm -f {} \;
51find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
52
53%{_fixperms} %{buildroot}/*
54
55%check
56%{__make} test
57
58%clean
59rm -rf %{buildroot}
60
61
62%files
63%defattr(-,root,root)
64%{_bindir}/*
65%{_mandir}/*/*
66%{perl_vendorlib}/Image
67#{perl_vendorlib}/auto/Image
68
69
70%changelog
71* Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 3.232-1
72- updated to 3.232
73- dropt Source1 which doesn't need any more
74- built with perl 5.16.3
75
76* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.2-1
77- updated to 3.2; spec revamped based on Fedora's 3.2-8
78
79* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.1-3
80- rebuild with perl-5.12.3
81
82* Sun Feb 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.1.1-2
83- added BuildRequires: perl-Test-Pod, perl-Test-Pod-Coverage
84- changed Group to Development/Libraries
85
86* Mon May 05 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.1.1-1
87- rebuild with perl 5.10
88- new versioning policy
89
90* Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.1.1-0vl1
91- built for release
92
93* Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.1.1-0vl0.1
94- test package for VineSeed
95- new upstream release
96- add Vendor/Distribution tag
97
98* Thu Jul 05 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.01-1mdv2008.0
99+ Revision: 48726
100- switch to Module::Build
101
102  + Olivier Thauvin <nanardon@mandriva.org>
103    - buildrequires
104    - 3.01
105
106
107* Mon Jul 17 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 1:3.0-2
108- add BuildRequires: perl-Compress-Zlib
109
110* Fri Jun 16 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1:3.0-1mdv2007.0
111- new version
112- rpmbuildupdate aware
113- spec cleanup
114- better summary
115
116* Tue Jan 18 2005 Abel Cheung <deaddog@mandrake.org> 2.992-3mdk
117- rebuild
118
119* Tue Aug 12 2003 Per リyvind Karlsen <peroyvind@linux-mandrake.com> 2.992-2mdk
120- rebuild for new perl
121- use %%makeinstall_std macro
122
123* Mon Jul 21 2003 Fran輟is Pons <fpons@mandrakesoft.com> 2.992-1mdk
124- 2.992.
125
Note: See TracBrowser for help on using the repository browser.