source: projects/specs/trunk/p/perl-File-HomeDir/perl-File-HomeDir-vl.spec @ 9064

Revision 9064, 5.4 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-File-BaseDir?: rebuilt
  • perl-File-Find-Rule[-Perl], perl-File-HomeDir?, perl-File-MMagic, perl-Spiffy: updated


Line 
1Name:           perl-File-HomeDir
2Version:        1.00
3Release:        1%{?_dist_release}
4Summary:        Find your home and other directories on any platform
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/File-HomeDir/
9Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
10
11BuildArch:      noarch
12BuildRequires:  perl(Carp)
13BuildRequires:  perl(Cwd) >= 3.12
14BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
15BuildRequires:  perl(File::Path) >= 2.01
16BuildRequires:  perl(File::Spec) >= 3.12
17BuildRequires:  perl(File::Temp) >= 0.19
18BuildRequires:  perl(File::Which) >= 0.05
19#%if !%{defined perl_bootstrap}
20#BuildRequires:  perl(Test::Pod)
21#BuildRequires:  perl(Test::MinimumVersion)
22#BuildRequires:  perl(Test::More) >= 0.47
23#%endif
24Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
25Requires:       perl(Cwd) >= 3.12
26Requires:       perl(File::Path) >= 2.01
27Requires:       perl(File::Spec) >= 3.12
28Requires:       perl(File::Temp) >= 0.19
29Requires:       perl(File::Which) >= 0.05
30
31Vendor:         Project Vine
32Distribution:   Vine Linux
33Packager:       shaolin
34
35%description
36File::HomeDir is a module for locating the directories that are "owned"
37by a user (typically your user) and to solve the various issues that
38arise trying to find them consistently across a wide variety of
39platforms.
40
41
42%prep
43%setup -q -n File-HomeDir-%{version}
44
45%if %{_dist_release} > "vl6"
46%{?perl_default_filter}
47%global __requires_exclude %{?__requires_exclude}|perl\\(Cwd\\)|perl\\(File::Path\\)|perl\\(File::Spec\\)|perl\\(File::Temp\\)|perl\\(File::Which\\)|perl\\(Mac::
48%else
49cat << \EOF > %{name}-req
50#!/bin/sh
51%{__perl_requires} $* |\
52sed -e '/perl(Cwd\|File::Path\|File::Spec\|File::Temp\|File::Which)/d' |\
53sed -e '/perl(Mac::/d'
54EOF
55
56%global __perl_requires %{_builddir}/File-HomeDir-%{version}/%{name}-req
57chmod +x %{__perl_requires}
58%endif
59
60
61%build
62%{__perl} Makefile.PL INSTALLDIRS=vendor
63make %{?_smp_mflags}
64
65
66%install
67make pure_install PERL_INSTALL_ROOT=%{buildroot}
68find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
69find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
70chmod -R u+w %{buildroot}/*
71
72
73%check
74# These tests don't do anything really useful. Also, they are broken.
75# AUTOMATED_TESTING=1 make test
76
77
78
79%files
80%doc Changes LICENSE README
81%{perl_vendorlib}/File/
82%{_mandir}/man3/*.3pm*
83
84
85%changelog
86* Thu Nov  6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.00-1
87- updated to 1.00
88- comment out some BR (because "make test" is commented out)
89- built with perl 5.16.3
90
91* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.99-2
92- rebuild
93
94* Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.99-1
95- initial build for Vine Linux
96
97* Tue Jan 31 2012 Tom Callaway <spot@fedoraproject.org> - 0.99-1
98- Update to 0.99
99
100* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-3
101- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
102
103* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.98-2
104- Perl mass rebuild
105
106* Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.98-1
107- update to 0.98
108
109* Fri Jun 24 2011 Marcela Maslanova <mmaslano@redhat.com> - 0.97-2
110- fix filters for future rebuild
111- add perl_bootstrap macro
112- rebuild for perl 5.14.1
113
114* Mon Feb 21 2011 Tom Callaway <spot@fedoraproject.org> - 0.97-1
115- update to 0.97
116
117* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
118- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
119
120* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.93-2
121- 661697 rebuild for fixing problems with vendorach/lib
122
123* Wed Sep 22 2010 Petr Pisar <ppisar@redhat.com> - 0.93-1
124- 0.93 bump
125- Consolidate dependencies
126- Remove unversioned Requires
127- Update Summary and Description
128- Remove unneded file permission fixes
129
130* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.86-4
131- Mass rebuild with perl-5.12.0
132
133* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.86-3
134- rebuild against perl 5.10.1
135
136* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-2
137- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
138
139* Mon Jun  1 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1
140- update for Padre
141
142* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.84-1
143- update to 0.84
144
145* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
146- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
147
148* Tue Dec 16 2008 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-1
149- update to the latest version for Padre editor
150
151* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-3
152- Rebuild for perl 5.10 (again)
153
154* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-2
155- rebuild for new perl
156
157* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-1
158- 0.67
159
160* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.66-1
161- 0.66
162
163* Wed May 30 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.65-1
164- Update to 0.65.
165
166* Sat Feb 10 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.64-1
167- Update to 0.64.
168
169* Thu Jan 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-1
170- Update to 0.63.
171
172* Thu Jan  4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.62-1
173- Update to 0.62.
174
175* Thu Aug 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
176- First build.
Note: See TracBrowser for help on using the repository browser.