Accepting request 109924 from devel:libraries:c_c++
- Make sure to follow shlib policy; put tools in a separate package like done in libxml2 OBS-URL: https://build.opensuse.org/request/show/109924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxslt?expand=0&rev=37
This commit is contained in:
commit
c3db5640aa
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libxslt-python
|
Name: libxslt-python
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libgpg-error-devel
|
BuildRequires: libgpg-error-devel
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 17 17:38:20 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Make sure to follow shlib policy; put tools in a separate package
|
||||||
|
like done in libxml2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 4 18:44:16 UTC 2012 - jengelh@medozas.de
|
Wed Jan 4 18:44:16 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
30
libxslt.spec
30
libxslt.spec
@ -14,8 +14,6 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libxslt
|
Name: libxslt
|
||||||
Version: 1.1.26
|
Version: 1.1.26
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -53,16 +51,10 @@ to be a relatively fast processor. It also includes full support for
|
|||||||
the EXSLT set of extension functions as well as some common extensions
|
the EXSLT set of extension functions as well as some common extensions
|
||||||
present in other XSLT engines.
|
present in other XSLT engines.
|
||||||
|
|
||||||
The package comes with xsltproc, a command line interface to the XSLT
|
|
||||||
engine.
|
|
||||||
|
|
||||||
%package -n libxslt1
|
%package -n libxslt1
|
||||||
Summary: XSL Transformation Library
|
Summary: XSL Transformation Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: libxslt = %{version}-%{release}
|
|
||||||
Obsoletes: libxslt <= %{version}-%{release}
|
|
||||||
Provides: xsltproc = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n libxslt1
|
%description -n libxslt1
|
||||||
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
|
||||||
@ -92,12 +84,25 @@ Requires: %{name}1 = %{version}
|
|||||||
Requires: libgcrypt-devel
|
Requires: libgcrypt-devel
|
||||||
Requires: libgpg-error-devel
|
Requires: libgpg-error-devel
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
|
Requires: %name-tools = %version
|
||||||
#libxml is automatically required with pkgconfig
|
#libxml is automatically required with pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
to develop applications that require these.
|
to develop applications that require these.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Extended Stylesheet Language (XSL) Transformation utilities
|
||||||
|
License: MIT and GPL-2.0+
|
||||||
|
Group: Development/Tools
|
||||||
|
Provides: xsltproc = %version-%release
|
||||||
|
# O/P added during 12.2 dev:
|
||||||
|
Provides: libxslt = %version-%release
|
||||||
|
Obsoletes: libxslt <= %version-%release
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
This package contains xsltproc, a command line interface to the XSLT engine.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
@ -131,10 +136,7 @@ find %{buildroot} -type f -name "*.la" -print -delete
|
|||||||
|
|
||||||
%files -n %{name}1
|
%files -n %{name}1
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS NEWS README COPYING* Copyright TODO FEATURES
|
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%{_bindir}/xsltproc
|
|
||||||
%doc %{_mandir}/man1/xsltproc.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -149,4 +151,10 @@ find %{buildroot} -type f -name "*.la" -print -delete
|
|||||||
# not available doc/*.png
|
# not available doc/*.png
|
||||||
%doc doc/*.html doc/html doc/tutorial doc/*.gif
|
%doc doc/*.html doc/html doc/tutorial doc/*.gif
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS NEWS README COPYING* Copyright TODO FEATURES
|
||||||
|
%{_bindir}/xsltproc
|
||||||
|
%doc %{_mandir}/man1/xsltproc.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user