[521] | 1 | Summary: a simple generic namespace support class for perl |
---|
| 2 | Name: perl-XML-NamespaceSupport |
---|
[8714] | 3 | Version: 1.11 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | License: distributable |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | Source0: http://www.cpan.org/authors/id/R/RB/RBERJON/XML-NamespaceSupport-%{version}.tar.gz |
---|
| 8 | Url: http://search.cpan.org/search?dist=XML-NamespaceSupport |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl >= 5.004 |
---|
| 12 | Requires: perl >= 5.004 |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | This module offers a simple to process namespaced XML names |
---|
| 16 | (unames) from within any application that may need them. It |
---|
| 17 | also helps maintain a prefix to namespace URI map, and provides |
---|
| 18 | a number of basic checks. |
---|
| 19 | |
---|
| 20 | %prep |
---|
| 21 | %setup -q -n XML-NamespaceSupport-%{version} |
---|
| 22 | |
---|
| 23 | %build |
---|
| 24 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 25 | make OPTIMIZE="$RPM_OPT_FLAGS" |
---|
| 26 | |
---|
| 27 | %install |
---|
| 28 | rm -rf $RPM_BUILD_ROOT |
---|
| 29 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 30 | |
---|
| 31 | [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
---|
| 32 | |
---|
| 33 | find $RPM_BUILD_ROOT%{_prefix} -type f -print | |
---|
| 34 | sed "s@^$RPM_BUILD_ROOT@@g" | |
---|
| 35 | grep -v ^%{_mandir} | |
---|
| 36 | grep -v perllocal.pod | |
---|
| 37 | grep -v "\.packlist" > %{name}.files |
---|
| 38 | if [ "$(cat %{name}.files)X" = "X" ] ; then |
---|
| 39 | echo "ERROR: EMPTY FILE LIST" |
---|
| 40 | exit -1 |
---|
| 41 | fi |
---|
| 42 | |
---|
| 43 | %check |
---|
| 44 | make test |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | %files -f %{name}.files |
---|
| 50 | %defattr(-,root,root) |
---|
| 51 | %doc README Changes |
---|
| 52 | %{_mandir}/man?/* |
---|
| 53 | |
---|
| 54 | %changelog |
---|
[8714] | 55 | * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11-1 |
---|
| 56 | - new upstream release. |
---|
| 57 | |
---|
| 58 | * Fri May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.09-2 |
---|
[3153] | 59 | - rebuild with perl-5.12.3 |
---|
| 60 | |
---|
[521] | 61 | * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.09-1 |
---|
| 62 | - new upsteram release |
---|
| 63 | - used vendor_perl dir |
---|
| 64 | - changed Group to Development/Libraries |
---|
| 65 | - rebuilt with perl 5.10.0-2 |
---|
| 66 | |
---|
| 67 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.08-0vl2 |
---|
| 68 | - build on perl-5.8.6-0vl1 |
---|
| 69 | |
---|
| 70 | * Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.08-0vl1 |
---|
| 71 | - new upstream version |
---|
| 72 | - changed to License |
---|
| 73 | |
---|
| 74 | * Mon Apr 15 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.04-0vl1 |
---|
| 75 | - first build for Vine Linux |
---|