File mingw32-libxslt.spec of Package mingw32-libxslt
#
# spec file for package mingw32-libxslt
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw32-libxslt
Version: 1.1.28
Release: 0
Summary: MinGW Windows Library providing the Gnome XSLT engine
License: MIT
Group: Development/Libraries/C and C++
Url: http://xmlsoft.org/XSLT/
Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
#!BuildIgnore: post-build-checks
Patch0: libxslt-1.1.28-windows.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-libgcrypt-devel
BuildRequires: mingw32-libxml2-devel
BuildRequires: mingw32-zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%_mingw32_package_header_debug
BuildArch: noarch
%description
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
installed. The xsltproc command is a command line interface to the XSLT engine
%package -n mingw32-libxslt1
Summary: MinGW Windows port of the GNOME XSLT engine
Group: System/Libraries
%description -n mingw32-libxslt1
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
installed. The xsltproc command is a command line interface to the XSLT engine
%package devel
Summary: MinGW Windows Library providing the Gnome XSLT engine (development tools)
Group: Development/Libraries/C and C++
%description devel
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
installed. The xsltproc command is a command line interface to the XSLT engine
(development tools)
%package tools
Summary: Extended Stylesheet Language (XSL) Transformation utilities for MinGW
Group: Development/Tools/Other
Obsoletes: mingw32-libxslt
%description tools
This package contains xsltproc, a command line interface to the XSLT engine.
%_mingw32_debug_package
%prep
%setup -q -n libxslt-%{version}
%patch0 -p1 -b .windows
%build
libtoolize --copy --force
autoreconf -f -i
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
PATH=%{_mingw32_bindir}:$PATH \
%{_mingw32_configure} --without-python --enable-shared --disable-static
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
gzip -9 ChangeLog
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files -n mingw32-libxslt1
%defattr(-,root,root)
%{_mingw32_bindir}/libexslt-*.dll
%{_mingw32_bindir}/libxslt-1.dll
%files tools
%defattr(-,root,root)
%{_mingw32_bindir}/xsltproc.exe
%{_mingw32_mandir}/man1/xsltproc.1*
%{_mingw32_mandir}/man3/libexslt.3*
%{_mingw32_mandir}/man3/libxslt.3*
%files devel
%defattr(-,root,root)
%{_mingw32_bindir}/xslt-config
%{_mingw32_includedir}/libexslt
%{_mingw32_includedir}/libxslt
%{_mingw32_libdir}/libexslt.dll.a
%{_mingw32_libdir}/libxslt.dll.a
%{_mingw32_libdir}/pkgconfig/libexslt.pc
%{_mingw32_libdir}/pkgconfig/libxslt.pc
%{_mingw32_libdir}/xsltConf.sh
%{_mingw32_datadir}/aclocal/libxslt.m4
%{_mingw32_docdir}/libxslt-%{version}/html
%changelog