Accepting request 77360 from home:yecril71pl:branches:devel:libraries:c_c++
removed PATCH-MISSING-TAG OBS-URL: https://build.opensuse.org/request/show/77360 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=11
This commit is contained in:
parent
b7d5600d6f
commit
06c736d2b1
@ -1,2 +1,2 @@
|
|||||||
libxslt
|
libxslt1
|
||||||
libxslt-devel
|
libxslt-devel
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 27 09:14:25 UTC 2011 - giecrilj@stegny.2a.pl
|
||||||
|
|
||||||
|
- package clean-up:
|
||||||
|
- include library version number in the name of the binary package
|
||||||
|
- add an alias for xsltproc (required by package xmlto)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 21 13:11:00 UTC 2010 - puzel@novell.com
|
Wed Jul 21 13:11:00 UTC 2010 - puzel@novell.com
|
||||||
|
|
||||||
|
71
libxslt.spec
71
libxslt.spec
@ -15,27 +15,31 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: libxslt
|
Name: libxslt
|
||||||
BuildRequires: libgcrypt libgcrypt-devel libgpg-error libgpg-error-devel libxml2-devel pkg-config
|
|
||||||
Summary: XSL Transformation Library
|
|
||||||
Version: 1.1.26
|
Version: 1.1.26
|
||||||
Release: 1
|
Release: 1
|
||||||
License: MIT License (or similar)
|
License: MIT License (or similar)
|
||||||
|
Summary: XSL Transformation Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
BuildRequires: libgcrypt
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: libgpg-error
|
||||||
|
BuildRequires: libgpg-error-devel
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libxslt-64bit
|
Obsoletes: libxslt-64bit
|
||||||
%endif
|
%endif
|
||||||
|
Url: http://xmlsoft.org/XSLT/
|
||||||
#
|
#
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
Source3: xslt-config.1.gz
|
||||||
Patch0: %{name}-1.1.24-no-net-autobuild.patch
|
Patch0: %{name}-1.1.24-no-net-autobuild.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires: libxml2 >= 2.6.27
|
Requires: libxml2 >= 2.6.27
|
||||||
Url: http://xmlsoft.org/XSLT/
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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
|
||||||
@ -53,6 +57,27 @@ present in other XSLT engines.
|
|||||||
The package comes with xsltproc, a command line interface to the XSLT
|
The package comes with xsltproc, a command line interface to the XSLT
|
||||||
engine.
|
engine.
|
||||||
|
|
||||||
|
%package -n %{name}1
|
||||||
|
Summary: XSL Transformation Library
|
||||||
|
Provides: libxslt
|
||||||
|
Provides: xsltproc
|
||||||
|
|
||||||
|
%description -n libxslt1
|
||||||
|
This C library allows you to transform XML files into other XML files
|
||||||
|
(or HTML, text, and more) using the standard XSLT stylesheet
|
||||||
|
transformation mechanism.
|
||||||
|
|
||||||
|
It is based on libxml (version 2) for XML parsing, tree manipulation,
|
||||||
|
and XPath support. It is written in plain C, making as few assumptions
|
||||||
|
as possible and sticks closely to ANSI C/POSIX for easy embedding.
|
||||||
|
Although not primarily designed with performance in mind, libxslt seems
|
||||||
|
to be a relatively fast processor. It also includes full support for
|
||||||
|
the EXSLT set of extension functions as well as some common extensions
|
||||||
|
present in other XSLT engines.
|
||||||
|
|
||||||
|
The package comes with xsltproc, a command line interface to the XSLT
|
||||||
|
engine.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
@ -63,8 +88,11 @@ Obsoletes: libxslt-devel-64bit
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: libxml2-devel >= 2.6.27
|
Requires: glibc-devel
|
||||||
Requires: libgcrypt-devel libgpg-error-devel glibc-devel pkg-config
|
Requires: libgcrypt-devel
|
||||||
|
Requires: libgpg-error-devel
|
||||||
|
Requires: pkg-config
|
||||||
|
Requires: pkgconfig(libxml-2.0) >= 2.6.27
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
@ -76,33 +104,37 @@ to develop applications that require these.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
CFLAGS="%{optflags} -fno-strict-aliasing" \
|
||||||
%configure --disable-static --with-pic --without-python
|
%configure --disable-static --with-pic --without-python
|
||||||
%{__make} %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
# Unwanted doc stuff
|
# Unwanted doc stuff
|
||||||
rm -fr $RPM_BUILD_ROOT%{_datadir}/doc
|
rm -fr %{buildroot}%{_datadir}/doc
|
||||||
|
%if 0
|
||||||
# libxslt-python uses these
|
# libxslt-python uses these
|
||||||
#%{__rm} -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
%endif
|
||||||
|
# the manual page is required
|
||||||
|
install -ma=r '-t%{buildroot}%{_mandir}/man1' '%{SOURCE3}'
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n %{name}1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n %{name}1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -n %{name}1
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS NEWS README COPYING* Copyright TODO FEATURES
|
%doc AUTHORS NEWS README COPYING* Copyright TODO FEATURES
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%{_bindir}/xsltproc
|
%{_bindir}/xsltproc
|
||||||
%{_mandir}/man1/xsltproc.1*
|
%doc %{_mandir}/man1/xsltproc.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -113,7 +145,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_datadir}/aclocal/*
|
%{_datadir}/aclocal/*
|
||||||
%{_bindir}/xslt-config
|
%{_bindir}/xslt-config
|
||||||
%{_mandir}/man3/*
|
%doc %{_mandir}/man1/xslt-config.*
|
||||||
|
%doc %{_mandir}/man3/*
|
||||||
# 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
|
||||||
|
|
||||||
|
3
xslt-config.1.gz
Normal file
3
xslt-config.1.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4f2280a1ea263baff6430421d96be547439c72ff7738ef0a3b106f1c92e0a9e1
|
||||||
|
size 472
|
Loading…
Reference in New Issue
Block a user