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