Browse Source

popt-1.18-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12536 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
97fe9ed4e3
1 changed files with 32 additions and 23 deletions
  1. 32 23
      p/popt/popt-vl.spec

+ 32 - 23
p/popt/popt-vl.spec

@@ -1,24 +1,20 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
 Summary:	C library for parsing command line parameters
 Summary(ja):    コマンドラインパラメータを文法解析するためのCライブラリ
 Name:		popt
-Version:	1.16
-Release:	3%{?_dist_release}
-License:	MIT
+Version:	1.18
+Release:	1%{?_dist_release}
 Group:		System Environment/Libraries
-URL:		http://www.rpm5.org/
-Source0:	http://www.rpm5.org/files/%{name}/%{name}-%{version}.tar.gz
-Patch0:		popt-1.16-pkgconfig.patch
-Patch1:		popt-1.16-execfail.patch
-Patch2:		popt-1.16-man-page.patch
-Patch3:		popt-1.16-help.patch
-Patch4:		popt-1.16-nextarg-memleak.patch
-Patch5:		popt-1.16-glob-error.patch
-BuildRequires:	gettext
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+Vendor:		Project Vine
+Distribution:	Vine Linux
 
-Vendor: Project Vine
-Distribution: Vine Linux
+License:	MIT
+URL:		https://github.com/rpm-software-management/popt/
+Source0:	http://ftp.rpm.org/popt/releases/popt-1.x/%{name}-%{version}.tar.gz
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:	gettext
 
 %description
 Popt is a C library for parsing command line parameters. Popt was
@@ -43,8 +39,8 @@ Poptは、コマンドライン引数を設定ファイルによってエイリ
 
 %package devel
 Summary:	Development files for the popt library
-Summary(ja):    popt ライブラリの開発ファイル
-Group:		Development/Libraries
+Summary(ja):	popt ライブラリの開発ファイル
+Group:		programming
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
@@ -56,7 +52,7 @@ API documentation of the popt library, too.
 %package static
 Summary: Static library for %{name}
 Summary(ja): %{name} のスタティックライブラリ
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 
 %description static
@@ -66,7 +62,7 @@ The %{name}-static package contains the static library for %{name}.
 %package -n compat32-%{name}
 Summary: A C library for parsing command line parameters.
 Summary(ja): コマンドラインパラメータを文法解析するためのCライブラリ
-Group: Development/Libraries
+Group: system
 Requires: %{name} = %{version}-%{release}
 
 %description -n compat32-%{name}
@@ -89,10 +85,11 @@ Poptは、コマンドライン引数を設定ファイルによってエイリ
 許可したり、シェルライクな方針を用いた任意の文字列を文法解析し
 てargv[]配列に変換したりするユーティリティ関数を含んでいます。
 
+
 %package -n compat32-%{name}-devel
 Summary:	Development files for the popt library
-Summary(ja):    popt ライブラリの開発ファイル
-Group:		Development/Libraries
+Summary(ja):	popt ライブラリの開発ファイル
+Group:		programming
 Requires:	compat32-%{name} = %{version}-%{release}
 Requires:	%{name}-devel = %{version}-%{release}
 
@@ -101,6 +98,10 @@ The popt-devel package includes header files and libraries necessary
 for developing programs which use the popt C library. It contains the
 API documentation of the popt library, too.
 
+
+%debug_package
+
+
 %prep
 %autosetup
 sed -i "s|libdir=@libdir@|libdir=@prefix@@libdir@|" popt.pc.in
@@ -109,10 +110,12 @@ sed -i "s|libdir=@libdir@|libdir=@prefix@@libdir@|" popt.pc.in
 #sed -i "s|/lib/pkgconfig|/lib64/pkgconfig|" Makefile.in
 %endif
 
+
 %build
 %configure --libdir=/%{_lib}
 make %{?_smp_mflags}
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -132,20 +135,22 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/popt.d
 
 %find_lang %{name}
 
+
 %check
 make check
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
 
+%post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %post -n compat32-%{name} -p /sbin/ldconfig
-
 %postun -n compat32-%{name} -p /sbin/ldconfig
 
+
 %files -f %{name}.lang
 %defattr(-,root,root)
 %license COPYING
@@ -177,6 +182,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18-1
+- new upstream release.
+- dropped all patches.
+
 * Sun Sep 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16-3
 - imported Patch0-5 from rawhide.