Browse Source

libpng-1.6.37-2

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
438ed0f726
1 changed files with 32 additions and 25 deletions
  1. 32 25
      lib/libp/libpng/libpng-vl.spec

+ 32 - 25
lib/libp/libpng/libpng-vl.spec

@@ -3,21 +3,22 @@
 Summary: A library of functions for manipulating PNG image format files.
 Summary(ja): PNG画像形式ファイル操作用の関数ライブラリ
 Name: libpng
+Epoch: 2
 Version: 1.6.37
-Release: 1%{_dist_release}
+Release: 2%{_dist_release}
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+
 License: distributable
-Group: System Environment/Libraries
+URL: http://www.libpng.org/pub/png/
 Source: https://download.sourceforge.net/libpng/libpng-%{version}.tar.xz
 
-Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: zlib-devel
 Requires: zlib
-URL: http://www.libpng.org/pub/png/
 %define LIBVER 3.%{version}
-Epoch: 2
 
-Vendor: Project Vine
-Distribution: Vine Linux
 
 %description
 The libpng package contains a library of functions for creating and
@@ -38,10 +39,11 @@ PNG は GIF の代替画像形式として生まれました.
 
 PNG 形式の画像ファイルを扱う場合は libpng をインストールして下さい.
 
+
 %package devel
 Summary: Development tools for programs to manipulate PNG image format files.
 Summary(ja): PNG 形式画像ファイルを扱うプログラム向け開発ツール
-Group: Development/Libraries
+Group: programming
 Requires: libpng = %{epoch}:%{version}-%{release}
 Requires: zlib-devel
 
@@ -53,29 +55,32 @@ developing programs using the PNG (Portable Network Graphics) library.
 libpng-devel パッケージには,PNG (Portable Network Graphics) ライブラリを
 使ったプログラムを開発するのに必要なヘッダファイルが収められています.
 
+
 %package static
 Summary: Static library for %{name}
 Summary(ja): %{name} のスタティックライブラリ
-Group: Development/Libraries
+Group: programming
 Requires: libpng-devel = %{epoch}:%{version}-%{release}
 
 %description static
 The libpng-static package contains the static library for libpng.
 
+
 %package tools
 Summary: Tools for PNG image format file library
 Summary(ja): %{name} 用のツール
-Group: Development/Libraries
+Group: graphics
 Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
 
 %description tools
 The libpng-tools package contains tools used by the authors of libpng.
 
+
 ## to build compat32 for x86_64 architecture support
 %package -n compat32-%{name}
 Summary: A library of functions for manipulating PNG image format files.
 Summary(ja): PNG画像形式ファイル操作用の関数ライブラリ
-Group: System Environment/Libraries
+Group: system,legacy
 
 %description -n compat32-%{name}
 The libpng package contains a library of functions for creating and
@@ -87,10 +92,11 @@ compression algorithm.
 Libpng should be installed if you need to manipulate PNG format image
 files.
 
+
 %package -n compat32-%{name}-devel
 Summary: Development tools for programs to manipulate PNG image format files.
 Summary(ja): PNG 形式画像ファイルを扱うプログラム向け開発ツール
-Group: Development/Libraries
+Group: programming,legacy
 Requires: libpng = %{epoch}:%{version}-%{release}, libpng-devel = %{epoch}:%{version}-%{release}
 Requires: zlib-devel
 
@@ -102,16 +108,22 @@ Network Graphics) library.
 If you want to develop programs which will manipulate PNG image format
 files, you should install libpng-devel.  You'll also need to install
 the libpng package.
-
 #'
+
+
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
 #./autogen.sh
 %configure
 %__make %{?_smp_mflags}
 
+
 %install
 [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
 %makeinstall
@@ -119,21 +131,11 @@ the libpng package.
 # remove unneeded files
 %__rm -f %{buildroot}%{_libdir}/libpng*.la
 
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-%post -n compat32-%{name}
-/sbin/ldconfig
-
-%postun -n compat32-%{name}
-/sbin/ldconfig
 
 %clean
 [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
 
+
 %files
 %defattr(-,root,root)
 %license LICENSE
@@ -170,10 +172,15 @@ the libpng package.
 %defattr(-,root,root)
 %{_libdir}/libpng*.a
 %{_libdir}/libpng*.so
-%{_libdir}/pkgconfig/*
+#{_libdir}/pkgconfig/*
 %endif
 
+
 %changelog
+* Tue Aug 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:1.6.37-2
+- rebuilt with current environment.
+- dropped ldconfig scriptlets.
+
 * Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:1.6.37-1
 - updated to 1.6.37.