perl-Text-Iconv/perl-Text-Iconv.spec

86 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Text-Iconv (Version 1.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Text-Iconv
License: Artistic License
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Iconv interface for text recoding
Version: 1.4
Release: 135
Source: Text-Iconv-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The UNIX iconv interface for perl.
Authors:
--------
Michael Piotrowski <mxp@dynalabs.de>
%prep
%setup -n Text-Iconv-%{version}
%define perl_site %(TMP=%{perl_sitearch}; echo ${TMP%/*})
%build
perl Makefile.PL
make
make test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc MANIFEST Changes README
%{perl_vendorarch}/auto/Text
%{perl_vendorarch}/Text
%{_mandir}/man3/Text::Iconv.3pm.gz
/var/adm/perl-modules/perl-Text-Iconv
%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Sun Jul 31 2005 cthiel@suse.de
- update to version 1.4
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 28 2003 coolo@suse.de
- fix build
* Tue Jul 01 2003 ro@suse.de
- use perl_process_packlist macro
- remove perllocal.pod from filelist
* Mon Jun 16 2003 coolo@suse.de
- package directories
* Mon Nov 18 2002 ro@suse.de
- fixed typo in specfile
* Sun Nov 17 2002 adrian@suse.de
- initial package of perl-Text-Iconv 1.2 (needed for gift)