[9315] | 1 | Name: perl-Net-UPnP |
---|
| 2 | Version: 1.4.3 |
---|
| 3 | Release: 2%{?_dist_release} |
---|
| 4 | Summary: Perl extension for UPnP |
---|
| 5 | Summary(ja): UPnP のための Perl 拡張 |
---|
| 6 | |
---|
| 7 | License: BSD |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | URL: http://search.cpan.org/dist/Net-UPnP/ |
---|
| 10 | |
---|
| 11 | Source0: http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-%{version}.tar.gz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildArch: noarch |
---|
| 15 | BuildRequires: perl |
---|
| 16 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 17 | BuildRequires: perl(strict) |
---|
| 18 | BuildRequires: perl(warnings) |
---|
| 19 | # Run-time: |
---|
| 20 | # Socket not used at tests |
---|
| 21 | BuildRequires: perl(vars) |
---|
| 22 | BuildRequires: perl(version) |
---|
| 23 | # Tests: |
---|
| 24 | BuildRequires: perl(Test::More) |
---|
| 25 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 26 | |
---|
| 27 | Vendor: Project Vine |
---|
| 28 | Distribution: Vine Linux |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | This package provides some functions to control UPnP devices. |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n Net-UPnP-%{version} |
---|
| 35 | # Fix file attributes |
---|
| 36 | find -name '*.pm' -exec chmod a-x '{}' + |
---|
| 37 | chmod a-x Changes README |
---|
| 38 | |
---|
| 39 | # Fix shebangs |
---|
| 40 | for file in examples/*.pl; do |
---|
| 41 | sed '1 s|^#!/usr/local/bin/perl|#!%{__perl}|g' "$file" > "${file}.mod" && \ |
---|
| 42 | touch -r "$file" "${file}.mod" && \ |
---|
| 43 | mv "${file}.mod" "$file" |
---|
| 44 | done |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 48 | make %{?_smp_mflags} |
---|
| 49 | |
---|
| 50 | %install |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
| 53 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
| 54 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
| 55 | |
---|
| 56 | %check |
---|
| 57 | make test |
---|
| 58 | |
---|
| 59 | %clean |
---|
| 60 | rm -rf $RPM_BUILD_ROOT |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %doc Changes README examples/ |
---|
| 64 | %{perl_vendorlib}/Net/ |
---|
| 65 | %{_mandir}/man3/Net::UPnP* |
---|
| 66 | |
---|
| 67 | %changelog |
---|
| 68 | * Sat Jan 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.3-2 |
---|
| 69 | - Initial build for Vine Linux |
---|
| 70 | |
---|
| 71 | * Mon Oct 20 2014 Petr Pisar <ppisar@redhat.com> - 1:1.4.3-1 |
---|
| 72 | - 1.4.3 bump |
---|
| 73 | |
---|
| 74 | * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.4.2-15 |
---|
| 75 | - Perl 5.20 rebuild |
---|
| 76 | |
---|
| 77 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.2-14 |
---|
| 78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 79 | |
---|
| 80 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.2-13 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.2-12 |
---|
| 84 | - Perl 5.18 rebuild |
---|
| 85 | |
---|
| 86 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.2-11 |
---|
| 87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 88 | |
---|
| 89 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.2-10 |
---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 91 | |
---|
| 92 | * Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.4.2-9 |
---|
| 93 | - Perl 5.16 rebuild |
---|
| 94 | |
---|
| 95 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.2-8 |
---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 97 | |
---|
| 98 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.4.2-7 |
---|
| 99 | - Perl mass rebuild |
---|
| 100 | |
---|
| 101 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.2-6 |
---|
| 102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 103 | |
---|
| 104 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.4.2-5 |
---|
| 105 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 106 | |
---|
| 107 | * Fri May 14 2010 Petr Pisar <ppisar@redhat.com> - 1:1.4.2-4 |
---|
| 108 | - Remove duplicate BuildRequires perl(version) |
---|
| 109 | |
---|
| 110 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.4.2-3 |
---|
| 111 | - Added BR: perl(version) to fix FTBFS. |
---|
| 112 | |
---|
| 113 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.4.2-2 |
---|
| 114 | - Mass rebuild with perl-5.12.0 |
---|
| 115 | |
---|
| 116 | * Sun Dec 27 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1:1.4.2-1 |
---|
| 117 | - Update to 1.4.2. |
---|
| 118 | - Fix spelling in rpm version: 1.4.1 instead of previous 1.41. |
---|
| 119 | |
---|
| 120 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.4.1-5 |
---|
| 121 | - rebuild against perl 5.10.1 |
---|
| 122 | |
---|
| 123 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-4 |
---|
| 124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 125 | |
---|
| 126 | * Wed Apr 15 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.4.1-3 |
---|
| 127 | - Review fixes. |
---|
| 128 | |
---|
| 129 | * Sun Apr 12 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.4.1-2 |
---|
| 130 | - Add missing BR: Test::More. |
---|
| 131 | |
---|
| 132 | * Sun Apr 12 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.4.1-1 |
---|
| 133 | - Specfile autogenerated by cpanspec 1.77. |
---|
| 134 | |
---|