|
@@ -5,15 +5,14 @@ Summary: Library providing the Gnome XSLT engine
|
|
|
Summary(ja): XSLT エンジンライブラリ
|
|
|
Name: libxslt
|
|
|
Version: 1.1.34
|
|
|
-Release: 1%{_dist_release}
|
|
|
-Group: System Environment/Libraries
|
|
|
-
|
|
|
+Release: 2%{_dist_release}
|
|
|
+Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
License: MIT
|
|
|
URL: http://xmlsoft.org/XSLT/
|
|
|
-Source0: ftp://xmlsoft.org/libxslt/%{name}-%{version}.tar.gz
|
|
|
+Source: https://gitlab.gnome.org/GNOME/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: libtirpc-devel
|
|
@@ -27,7 +26,6 @@ BuildRequires: python3 python3-devel python3-rpm-macros python3-libxml2
|
|
|
%endif
|
|
|
Requires: libxml2 >= 2.9.9
|
|
|
|
|
|
-
|
|
|
%description
|
|
|
This C library allows to transform XML files into other XML files
|
|
|
(or HTML, text, ...) using the standard XSLT stylesheet transformation
|
|
@@ -37,10 +35,11 @@ installed. The xsltproc command is a command line interface to the XSLT engine
|
|
|
%description -l ja
|
|
|
XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
|
|
|
Summary(ja): XSLT 開発用ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: libxml2-devel >= 2.6.27
|
|
|
|
|
@@ -53,18 +52,20 @@ installed.
|
|
|
%description devel -l ja
|
|
|
XSLTのための開発用ファイルです。
|
|
|
|
|
|
+
|
|
|
%package static
|
|
|
Summary: Static library for %{name}
|
|
|
Summary(ja): %{name} のスタティックライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: libxslt-devel = %{version}-%{release}
|
|
|
|
|
|
%description static
|
|
|
The libxslt-static package contains the static library for libxslt.
|
|
|
|
|
|
+
|
|
|
%package python
|
|
|
Summary: Python bindings for the libxslt library
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: libxslt = %{version}-%{release}
|
|
|
Requires: libxml2 >= 2.9.9
|
|
|
Requires: python
|
|
@@ -79,10 +80,11 @@ to load and save XML and HTML files. Direct access to XPath and
|
|
|
the XSLT transformation context are possible to extend the XSLT language
|
|
|
with XPath functions written in Python.
|
|
|
|
|
|
+
|
|
|
%if %{with python3}
|
|
|
%package -n python3-%{name}
|
|
|
Summary: Python bindings for the libxslt library
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: libxslt = %{version}-%{release}
|
|
|
Requires: libxml2 >= 2.9.9
|
|
|
Requires: python3
|
|
@@ -99,11 +101,12 @@ with XPath functions written in Python.
|
|
|
|
|
|
%endif
|
|
|
|
|
|
+
|
|
|
# compat32
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: Library providing the Gnome XSLT engine
|
|
|
Summary(ja): XSLT エンジンライブラリ
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system,legacy
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: compat32-libxml2 >= 2.6.27
|
|
|
|
|
@@ -116,10 +119,11 @@ installed. The xsltproc command is a command line interface to the XSLT engine
|
|
|
%description -n compat32-%{name} -l ja
|
|
|
XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。
|
|
|
|
|
|
+
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
|
|
|
Summary(ja): XSLT 開発用ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming,legacy
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
Requires: compat32-libxml2-devel >= 2.6.27
|
|
@@ -133,11 +137,17 @@ installed.
|
|
|
%description -n compat32-%{name}-devel -l ja
|
|
|
XSLTのための開発用ファイルです。
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
-%autosetup -p1
|
|
|
+%autosetup -p1 -n %{name}-v%{version}
|
|
|
chmod 644 python/tests/*
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
+autoreconf -ivf
|
|
|
perl -pi -e 's|sysconfig\.get_python_lib\(\)|sysconfig.get_python_lib(1)|' configure
|
|
|
|
|
|
mkdir py2 py3
|
|
@@ -151,6 +161,7 @@ make %{?_smp_mflags} -C py2
|
|
|
make %{?_smp_mflags} -C py3
|
|
|
%endif
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
@@ -169,16 +180,10 @@ find %{buildroot} -name '*.la' -print -delete
|
|
|
touch -m --reference=%{buildroot}%{_includedir}/libxslt/xslt.h %{buildroot}%{_bindir}/xslt-config
|
|
|
rm -vrf %{buildroot}%{_docdir}
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
|
%defattr(-, root, root)
|
|
@@ -244,7 +249,11 @@ rm -vrf %{buildroot}%{_docdir}
|
|
|
%{_libdir}/*.sh
|
|
|
%endif
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Thu May 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.34-2
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Mon Dec 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.34-1
|
|
|
- updated to 1.1.34.
|
|
|
- dropped Patch1-4: fixed in upstream.
|