浏览代码

perl-gettext-1.07-2

Tomohiro "Tomo-p" KATO 2 年之前
父节点
当前提交
d7f8f99e97
共有 1 个文件被更改,包括 29 次插入20 次删除
  1. 29 20
      p/perl-gettext/perl-gettext-vl.spec

+ 29 - 20
p/perl-gettext/perl-gettext-vl.spec

@@ -1,38 +1,42 @@
 %define PackageName gettext
 
-Name: perl-%{PackageName}
-Version: 1.07
-Release: 1%{?_dist_release}
-Summary: Interface to gettext family of functions
-
-Group: Development/Libraries
-License: GPL or Artistic
-Source: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
-URL:    http://search.cpan.org/~pvandry/gettext/
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: gettext
-Requires:	gettext
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-Obsoletes: perl-Locale-gettext <= 1.05
-
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: daisuke, inagaki, iwaim
+Name:           perl-%{PackageName}
+Summary:        Interface to gettext family of functions
+Version:        1.07
+Release:        2%{?_dist_release}
+Group:          programming
+Vendor:         Project Vine
+Distribution:   Vine Linux
+Packager:       daisuke, inagaki, iwaim
+
+License:        GPL or Artistic
+Source:         http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
+URL:            http://search.cpan.org/~pvandry/gettext/
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  gettext
+Requires:       gettext
+Requires:       perl(:MODULE_COMPAT_%{perl_abi_version})
+
+Obsoletes:      perl-Locale-gettext <= 1.05
 
 %description
 Perl module gettext - This module give acces to the C library functions
 for internatialization gettext.
 
 
+%debug_package
+
+
 %prep
 %setup -q -n Locale-%{PackageName}-%{version}
 
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
+
 %install
 rm -rf %{buildroot}
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -41,6 +45,7 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
+
 %check
 unset LC_MESSAGES
 case "$LANG" in
@@ -49,6 +54,7 @@ case "$LANG" in
 esac
 make test
 
+
 %clean
 rm -rf %{buildroot}
 
@@ -62,6 +68,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.07-2
+- rebuilt with perl-5.34.
+
 * Mon Aug 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.07-1
 - new upstream release.
 - rebuilt with perl-5.26.