Browse Source

expat-2.4.1-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
992b5916ab
1 changed files with 16 additions and 16 deletions
  1. 16 16
      e/expat/expat-vl.spec

+ 16 - 16
e/expat/expat-vl.spec

@@ -1,6 +1,6 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 %define name   expat
-%define version 2.2.10
+%define version 2.4.1
 %define release 1%{?_dist_release}
 
 Summary:	Expat is an XML 1.0 parser written in C
@@ -8,18 +8,19 @@ Summary(ja):	C で書かれた XML 1.0 パーサ
 Name:		%{name}
 Version:	%{version}
 Release:	%{release}
-License:	MIT/X
 Group:		accessories
-URL:		http://www.libexpat.org/
-Source:		http://download.sourceforge.net/expat/%{name}-%{version}.tar.bz2
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
+License:	MIT/X
+URL:		https://libexpat.github.io/
+%global altver	%(echo %{version} | tr '.' '_')
+Source:		https://github.com/libexpat/libexpat/releases/download/R_%{altver}/%{name}-%{version}.tar.xz
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 Requires:	lib%{name} = %{version}-%{release}
 BuildRequires:	libtool
 
-Vendor: Project Vine
-Distribution: Vine Linux
-
 %description
 This is Expat, a C library for parsing XML, written by James Clark.
 Expat is a stream-oriented XML parser.  This means that you register
@@ -59,7 +60,7 @@ expat XML パーサ用開発環境です.
 %package -n	compat32-lib%{name}
 Summary:	Runtime library of expat
 Summary(ja):	Expat のための実行ライブラリ
-Group:		system
+Group:		system,legacy
 Requires:	lib%{name} = %{version}-%{release}
 
 %description -n compat32-lib%{name}
@@ -73,7 +74,7 @@ Expat を動作させるために必用となるライブラリです.
 %package -n	compat32-%{name}-devel
 Summary:	Development environment for the expat XML parser
 Summary(ja):	expat XML パーサ用開発環境
-Group:		programming
+Group:		programming,legacy
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	compat32-lib%{name} = %{version}-%{release}
 
@@ -116,13 +117,6 @@ install -m644 doc/xmlwf.1 %{buildroot}%{_mandir}/man1/
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -n lib%{name} -p /sbin/ldconfig
-%postun -n lib%{name} -p /sbin/ldconfig
-
-%post -n compat32-lib%{name} -p /sbin/ldconfig
-%postun -n compat32-lib%{name} -p /sbin/ldconfig
-
-
 %files
 %defattr(-,root,root) 
 %license COPYING
@@ -145,6 +139,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libexpat.a
 %{_libdir}/libexpat.so
 %{_libdir}/pkgconfig/%{name}.pc
+%dir %{_libdir}/cmake
+%{_libdir}/cmake/expat-%{version}
 
 ## to build compat32 for x86_64 architecture support
 %if %{build_compat32}
@@ -160,6 +156,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 30 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Wed Feb 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.10-1
 - new upstream release.