forked from pool/perl-IO-String
67 lines
1.7 KiB
RPMSpec
67 lines
1.7 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-IO-String (Version 1.08)
|
||
|
#
|
||
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-IO-String
|
||
|
License: Artistic License
|
||
|
Group: Development/Libraries/Perl
|
||
|
URL: http://search.cpan.org/~gaas/
|
||
|
Requires: perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Summary: Perl IO/String interface
|
||
|
Version: 1.08
|
||
|
Release: 1
|
||
|
Source: IO-String-%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
IO::String is an IO::File (and IO::Handle) compatible class that read
|
||
|
or write data from in-core strings.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Gisle Aas. <gisle@aas.no>
|
||
|
|
||
|
%prep
|
||
|
%setup -n IO-String-%{version}
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%install
|
||
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{perl_vendorlib}/IO
|
||
|
%{perl_vendorarch}/auto/IO
|
||
|
%{perl_vendorarch}/auto/IO/String
|
||
|
%doc %{_mandir}/man3/*.gz
|
||
|
/var/adm/perl-modules/perl-IO-String
|
||
|
%doc MANIFEST Changes README*
|
||
|
|
||
|
%changelog -n perl-IO-String
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Thu Dec 08 2005 - schubi@suse.de
|
||
|
- update to version 1.08
|
||
|
* Wed Oct 26 2005 - schubi@suse.de
|
||
|
- update to version 1.07
|
||
|
* Thu Apr 14 2005 - schubi@suse.de
|
||
|
- initial version 1.06
|