SHA256
1
0
forked from pool/perl-gettext
perl-gettext/perl-gettext.spec

98 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-gettext (Version 1.05)
#
# Copyright (c) 2008 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-gettext
Url: http://archive.cpan.cz/authors/id/P/PV/PVANDRY/
License: Artistic License; GPL v2 or later
Group: Development/Libraries/Perl
BuildRequires: perl
Obsoletes: perl_gtx
Provides: perl_gtx
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: gettext for perl
Version: 1.05
Release: 91
Source: gettext-%{version}.tar.bz2
Patch: %{name}-%{version}-POSIX.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Gettext for perl.
Authors:
--------
Phillip Vandry <vandry@Mlink.NET>
%prep
%setup -q -n gettext-%{version}
%patch
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
# ---------------------------------------------------------------------------
%check
make test
%install
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{perl_vendorarch}/Locale
%{perl_vendorarch}/auto/Locale
%doc %{_mandir}/man3/Locale::gettext.3pm.gz
/var/adm/perl-modules/%{name}
%doc README
%changelog
* Wed Jan 30 2008 pth@suse.de
- Fix bug reference.
* Tue Jan 29 2008 anicka@suse.de
- fix mismatched prototypes [bnc#353715]
- fix specfile (rpmlint warnings), enable tests
* Sun May 27 2007 rguenther@suse.de
- add perl BuildRequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jul 11 2005 schubi@suse.de
- update to 1.05
* Fri Apr 15 2005 schubi@suse.de
- update to 1.04
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 schwab@suse.de
- Update specfile.
* Tue Jun 17 2003 choeger@suse.de
- updated filelist
* Thu Aug 08 2002 mls@suse.de
- use sitearch macro
* Thu Nov 16 2000 ro@suse.de
- use BuildRoot
* Thu Nov 16 2000 ro@suse.de
- renamed package perl_gtx to perl-gettext
* Wed Sep 20 2000 schwab@suse.de
- Fix missing declarations.
* Wed May 31 2000 choeger@suse.de
- first version, 1.01