source: projects/specs/trunk/p/perl-XML-Dumper/perl-XML-Dumper-vl.spec @ 9124

Revision 9124, 3.7 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-Perl-Critic-More: rebuilt
  • perl-XML-{Dumper, Filter-BufferText?, Grove, XPath}: rebuilt
  • perl-XML-{LibXML, LibXSLT, SAX-Writer, Writer}: updated
  • perl-YAML-LibYAML: updated


Line 
1%define _use_internal_dependency_generator 0
2
3%define name perl-XML-Dumper
4%define module  XML-Dumper
5
6Summary: Perl module for dumping Perl objects from/to XML
7Name: %{name}
8Version: 0.81
9Release: 3%{?_dist_release}
10License: GPL
11Group: Development/Libraries
12URL: http://search.cpan.org/~mikewong/XML-Dumper/
13
14Source0: http://www.cpan.org/authors/id/E/EI/EISEN/%{module}-%{version}.tar.gz
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildArch: noarch
18BuildRequires: perl(ExtUtils::MakeMaker)
19BuildRequires: perl(XML::Parser) >= 2.34
20Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21Requires: perl(XML::Parser)
22
23%description
24XML::Dumper dumps Perl data to XML format. XML::Dumper can also read
25XML data that was previously dumped by the module and convert it back
26to Perl.  Perl objects are blessed back to their original packaging;
27if the modules are installed on the system where the perl objects are
28reconstituted from xml, they will behave as expected. Intuitively, if
29the perl objects are converted and reconstituted in the same
30environment, all should be well.
31
32%prep
33%setup -q -n %{module}-%{version}
34
35%build
36CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
37make
38find ./ -type f | xargs perl -pi -e "s|^#!(\s)?/usr/local/bin/perl|#!%{__perl}|g"
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%install
44rm -rf $RPM_BUILD_ROOT
45mkdir -p $RPM_BUILD_ROOT{%{_prefix},%{_mandir}/man3}
46make DESTDIR=$RPM_BUILD_ROOT install
47#make PREFIX=$RPM_BUILD_ROOT%{_prefix} \
48#     NSTALLSITEARCH=%{buildroot}%{perl_sitearch} install
49
50find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
51
52find $RPM_BUILD_ROOT/usr -type f -print |
53        sed "s@^$RPM_BUILD_ROOT@@g" |
54        grep -v ^%{_mandir}   |
55        grep -v perllocal.pod |
56        grep -v "\.packlist" > XML-Dumper-%{version}-filelist
57if [ "$(cat XML-Dumper-%{version}-filelist)X" = "X" ] ; then
58    echo "ERROR: EMPTY FILE LIST"
59    exit -1
60fi
61install -m 644 blib/man3/* %{buildroot}%{_mandir}/man3
62
63%files -f XML-Dumper-%{version}-filelist
64%defattr(-,root,root)
65%doc README Changes MANIFEST
66%{_mandir}/man3/*3pm*
67
68%changelog
69* Sun Nov 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.81-3
70- rebuilt with perl 5.16.3
71
72* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.81-2
73- rebuild with perl-5.12.3
74
75* Fri Aug  1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.81-1
76- applied new versioning policy
77- rebuilt with perl-5.10.0
78- changed Group to Development/Libraries
79
80* Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.81-0vl1
81- new upstream release
82- rebuilt with perl-5.8.6
83- changed Group to Development/Languages
84
85* Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 0.71-0vl1
86- new upstream release
87
88* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 0.67-0vl2
89- built on perl-5.8.2
90
91* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 0.67-0vl1
92- new upstream version
93- built on perl-5.8.1
94
95* Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 0.4-25vl2
96- build on perl-5.8.0
97
98* Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 0.4-25vl1
99- build for VineLinux
100
101* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
102- automated release bump and build
103
104* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
105- automated rebuild
106
107* Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 2.30-5
108- got it to work.
109
110* Thu Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 2.30-4
111- imported from mandrake. tweaked man path.
112
113* Thu Jun 21 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.4-3mdk
114- Fixed an error in changelog.
115
116* Thu Jun 21 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.4-2mdk
117- Clean up spec.
118- Fixed distribution tag.
119- Needed by eGrail.
120
121* Mon Jun 18 2001 Till Kamppeter <till@mandrakesoft.com> 0.4-1mdk
122- Newly introduced for Foomatic.
123
Note: See TracBrowser for help on using the repository browser.