Accepting request 930625 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/930625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxslt?expand=0&rev=64
This commit is contained in:
Dominique Leuenberger 2021-11-12 14:59:03 +00:00 committed by Git OBS Bridge
commit 87ad91b04b
2 changed files with 39 additions and 12 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Nov 10 09:58:52 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
- Add missing library .so files [bsc#1191771]
-------------------------------------------------------------------
Fri Nov 5 21:08:07 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- shared lib packaging policy boo#1191771
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 10 09:50:43 UTC 2021 - Petr Vorel <pvorel@suse.cz> Thu Jun 10 09:50:43 UTC 2021 - Petr Vorel <pvorel@suse.cz>

View File

@ -16,8 +16,8 @@
# #
%define libname %{name}1 %define libver 1
%define exname libexslt0 %define libexver 0
Name: libxslt Name: libxslt
Version: 1.1.34 Version: 1.1.34
Release: 0 Release: 0
@ -57,12 +57,12 @@ as possible and sticks closely to ANSI C/POSIX for easy embedding.
It includes support for the EXSLT set of extension functions as well It includes support for the EXSLT set of extension functions as well
as some common extensions present in other XSLT engines. as some common extensions present in other XSLT engines.
%package -n %{libname} %package -n libxslt%{libver}
Summary: XSL Transformation Library Summary: XSL Transformation Library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: System/Libraries Group: System/Libraries
%description -n %{libname} %description -n libxslt%{libver}
This C library allows you to transform XML files into other XML files This C library allows you to transform XML files into other XML files
(or HTML, text, and more) using the standard XSLT stylesheet (or HTML, text, and more) using the standard XSLT stylesheet
transformation mechanism. transformation mechanism.
@ -73,15 +73,25 @@ as possible and sticks closely to ANSI C/POSIX for easy embedding.
It includes support for the EXSLT set of extension functions as well It includes support for the EXSLT set of extension functions as well
as some common extensions present in other XSLT engines. as some common extensions present in other XSLT engines.
%package -n libexslt%{libexver}
Summary: EXSLT Library
License: LGPL-2.1-or-later
Group: System/Libraries
%description -n libexslt%{libexver}
This is the EXSLT C library developed for libxslt.
EXSLT is a community initiative to provide extensions to XSLT.
%package devel %package devel
Summary: Development files for libxslt Summary: Development files for libxslt
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: %{name}-tools = %{version} Requires: %{name}-tools = %{version}
Requires: glibc-devel Requires: glibc-devel
Requires: libexslt%{libexver} = %{version}
Requires: libgcrypt-devel Requires: libgcrypt-devel
Requires: libgpg-error-devel Requires: libgpg-error-devel
Requires: libxslt%{libver} = %{version}
%description devel %description devel
libxslt allows you to transform XML files into other XML files libxslt allows you to transform XML files into other XML files
@ -118,10 +128,10 @@ autoreconf -fvi
--disable-static \ --disable-static \
--without-python \ --without-python \
--disable-silent-rules --disable-silent-rules
make %{?_smp_mflags} %make_build
%check %check
make %{?_smp_mflags} check %make_build check
%install %install
%make_install %make_install
@ -133,12 +143,18 @@ install -D -m0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/xslt-config.1
#kill all "la" files #kill all "la" files
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{libname} -p /sbin/ldconfig %post -n libxslt%{libver} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n libxslt%{libver} -p /sbin/ldconfig
%post -n libexslt%{libexver} -p /sbin/ldconfig
%postun -n libexslt%{libexver} -p /sbin/ldconfig
%files -n %{libname} %files -n libxslt%{libver}
%{_libdir}/libxslt.so.* %license COPYING* Copyright
%{_libdir}/libexslt.so.* %{_libdir}/libxslt.so.%{libver}*
%files -n libexslt%{libexver}
%license COPYING* Copyright
%{_libdir}/libexslt.so.%{libexver}*
%files tools %files tools
%license COPYING* Copyright %license COPYING* Copyright
@ -147,6 +163,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_mandir}/man1/xsltproc.1%{?ext_man} %{_mandir}/man1/xsltproc.1%{?ext_man}
%files devel %files devel
%license COPYING* Copyright
%{_libdir}/libxslt.so %{_libdir}/libxslt.so
%{_libdir}/libexslt.so %{_libdir}/libexslt.so
%{_libdir}/*.sh %{_libdir}/*.sh