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

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