rpms/perl-Net-UPnP/EL-5 perl-Net-UPnP.spec, NONE, 1.1 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: jussilehtola

Update of /cvs/pkgs/rpms/perl-Net-UPnP/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28389/EL-5

Modified Files:
	sources 
Added Files:
	perl-Net-UPnP.spec 
Log Message:
* Sat Apr 18 2009 Jussi Lehtola <jussi.lehtola@xxxxxx> - 1.41-3
- Import package in Fedora.



--- NEW FILE perl-Net-UPnP.spec ---
Name:		perl-Net-UPnP
Version:	1.41
Release:	3%{?dist}
Summary:	Perl extension for UPnP
License:	BSD
Group:		Development/Libraries
URL:		http://search.cpan.org/dist/Net-UPnP/
Source0:	http://www.cpan.org/authors/id/S/SK/SKONNO/Net-UPnP-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
BuildRequires:	perl(ExtUtils::MakeMaker)
BuildRequires:	perl(Test::More)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This package provides some functions to control UPnP devices.

%prep
%setup -q -n Net-UPnP-%{version}
# Fix file attributes
find -name '*.pm' -exec chmod a-x '{}' \;

# Fix shebangs
for file in examples/*.pl; do
 sed "s|/usr/local/bin/perl|/usr/bin/perl|g" $file > $file.mod && \
 touch -r $file $file.mod && \
 mv $file.mod $file
done


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README examples/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Apr 15 2009 Jussi Lehtola <jussi.lehtola@xxxxxx> - 1.41-3
- Review fixes.

* Sun Apr 12 2009 Jussi Lehtola <jussi.lehtola@xxxxxx> - 1.41-2
- Add missing BR: Test::More.

* Sun Apr 12 2009 Jussi Lehtola <jussi.lehtola@xxxxxx> - 1.41-1
- Specfile autogenerated by cpanspec 1.77.



Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-UPnP/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Apr 2009 21:38:14 -0000	1.1
+++ sources	18 Apr 2009 07:27:30 -0000	1.2
@@ -0,0 +1 @@
+7fec0b93c8f7bc62057e06852dd4b722  Net-UPnP-1.41.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux