source: projects/specs/trunk/p/perl-File-MimeInfo/perl-File-MimeInfo-vl.spec @ 9070

Revision 9070, 3.9 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-File-{DesktopEntry?, MimeInfo?, Remove, Which, chmod}: updated
  • perl-Readonly: updated
  • perl-File-{Slurp, Tail}, perl-Readonly-XS: rebuilt


Line 
1Name:           perl-File-MimeInfo
2Version:        0.26
3Release:        1%{?_dist_release}
4Summary:        Determine file type and open application
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/File-MimeInfo/
8Source0:        http://www.cpan.org/authors/id/P/PA/PARDUS/File-MimeInfo/File-MimeInfo-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(File::BaseDir)
13BuildRequires:  perl(File::DesktopEntry)
14BuildRequires:  perl(Module::Build)
15BuildRequires:  perl(Test::More)
16BuildRequires:  perl(Test::Pod)
17BuildRequires:  perl(Test::Pod::Coverage)
18# needed for some tests otherwise there are warnings
19BuildRequires:  shared-mime-info
20# there is also a mimeinfo.cache file created by desktop-file-utils
21# needed. It won't be there if building in a chroot, even if
22# desktop-file-utils is installed if desktop-file-utils was never run.
23Requires:       shared-mime-info
24Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28Packager:       shaolin
29
30%description
31This module can be used to determine the mime type of a file. It tries to
32implement the freedesktop specification for a shared MIME database.
33
34%prep
35%setup -q -n File-MimeInfo-%{version}
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}
44
45find %{buildroot} -type f -name .packlist -exec rm -f {} \;
46find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
47
48%{_fixperms} %{buildroot}/*
49
50%check
51make test
52
53%clean
54rm -rf %{buildroot}
55
56%files
57%doc Changes README.md
58%{_bindir}/mimeopen
59%{_bindir}/mimetype
60%{perl_vendorlib}/*
61%{_mandir}/man1/*
62%{_mandir}/man3/*
63
64%changelog
65* Sat Nov  8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.26-1
66- updated to 0.26
67- built with perl 5.16.3
68
69* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.16-2
70- rebuild
71
72* Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.16-1
73- initial build for Vine Linux
74
75* Fri Jan 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-1
76- bump to 0.16
77- remove patch, which is included in new release
78
79* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-10
80- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
81
82* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.15-9
83- Perl mass rebuild & apply test fix from cpan RT#66841 & clean spec
84
85* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-8
86- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
87
88* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.15-7
89- 661697 rebuild for fixing problems with vendorach/lib
90
91* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.15-6
92- Mass rebuild with perl-5.12.0
93
94* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.15-5
95- rebuild against perl 5.10.1
96
97* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
98- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
99
100* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-3
101- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
102
103* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.15-2
104- rebuild for new perl
105
106* Thu Feb 14 2008 Patrice Dumas <pertusus@free.fr> 0.15-1
107- update to 0.15, remove upstreamed no-ask patch
108
109* Wed Aug  8 2007 Patrice Dumas <pertusus@free.fr> 0.14-1
110- update to 0.14
111
112* Thu Nov 16 2006 Patrice Dumas <pertusus@free.fr> 0.13-3
113- add a Requires on shared-mime-info (Bug #215972)
114
115* Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.13-2
116- add an option to launch mimeopen non interactively
117
118* Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.13-1
119- Specfile autogenerated by cpanspec 1.69.
Note: See TracBrowser for help on using the repository browser.