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

Revision 5777, 3.6 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-File-MimeInfo
2Version:        0.16
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
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* Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.16-1
61- initial build for Vine Linux
62
63* Fri Jan 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-1
64- bump to 0.16
65- remove patch, which is included in new release
66
67* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-10
68- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
69
70* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.15-9
71- Perl mass rebuild & apply test fix from cpan RT#66841 & clean spec
72
73* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-8
74- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
75
76* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.15-7
77- 661697 rebuild for fixing problems with vendorach/lib
78
79* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.15-6
80- Mass rebuild with perl-5.12.0
81
82* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.15-5
83- rebuild against perl 5.10.1
84
85* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
86- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
87
88* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-3
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
90
91* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.15-2
92- rebuild for new perl
93
94* Thu Feb 14 2008 Patrice Dumas <pertusus@free.fr> 0.15-1
95- update to 0.15, remove upstreamed no-ask patch
96
97* Wed Aug  8 2007 Patrice Dumas <pertusus@free.fr> 0.14-1
98- update to 0.14
99
100* Thu Nov 16 2006 Patrice Dumas <pertusus@free.fr> 0.13-3
101- add a Requires on shared-mime-info (Bug #215972)
102
103* Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.13-2
104- add an option to launch mimeopen non interactively
105
106* Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.13-1
107- Specfile autogenerated by cpanspec 1.69.
Note: See TracBrowser for help on using the repository browser.