diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-11-12 16:09:34 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-11-12 16:09:56 +0900 |
commit | 52575733efa1b63a3f5fa615821c38c54387d409 (patch) | |
tree | 2a96c99bddd684894ffe0c1aab414241e2f5d5f1 /packaging/libxslt.spec | |
parent | 478150ad4e1d828cd9a7e500314d1dd2a273b73e (diff) | |
download | libxslt-52575733efa1b63a3f5fa615821c38c54387d409.tar.gz libxslt-52575733efa1b63a3f5fa615821c38c54387d409.tar.bz2 libxslt-52575733efa1b63a3f5fa615821c38c54387d409.zip |
Bump to libxslt 1.1.34tizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_base/20201208.051733submit/tizen_base/20201208.051231submit/tizen_base/20201207.055733submit/tizen_base/20191112.071109submit/tizen_6.5_base/20211027.200801submit/tizen_6.5_base/20211027.183101submit/tizen_6.5_base/20211026.180901submit/tizen_6.0_base_hotfix/20201102.162701submit/tizen_6.0_base_hotfix/20201030.192501submit/tizen_6.0_base/20201029.184801accepted/tizen/base/20191118.234239accepted/tizen/6.5/base/tool/20211027.120349accepted/tizen/6.0/base/tool/hotfix/20201102.090337accepted/tizen/6.0/base/tool/hotfix/20201030.125028accepted/tizen/6.0/base/tool/20201029.112223accepted/tizen/6.0/base/20201029.110942tizen_6.0_base_hotfixbackup/libxslt-1.1.34-20220913accepted/tizen_6.0_base_tool_hotfix
Change-Id: Ia9f72aa71f565490443282cba6154ddc66e39280
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'packaging/libxslt.spec')
-rw-r--r-- | packaging/libxslt.spec | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/packaging/libxslt.spec b/packaging/libxslt.spec new file mode 100644 index 00000000..a1da23d6 --- /dev/null +++ b/packaging/libxslt.spec @@ -0,0 +1,107 @@ + +%if "%{run_tests}" == "1" + %define __spec_check_pre %___build_pre + %define check %%check +%endif + +Name: libxslt +Version: 1.1.34 +Release: 0 +Summary: XSL Transformation Library +License: MIT +Group: System/Libraries +Url: http://xmlsoft.org/XSLT/ +Source: %{name}-%{version}.tar.bz2 +Source1001: libxslt.manifest +Source1002: COPYING.LGPLv2.1 +Source1003: COPYING.GPLv2 +BuildRequires: libgcrypt-devel +BuildRequires: libgpg-error-devel +BuildRequires: libtool +BuildRequires: libxml2-devel +BuildRequires: pkg-config + +%description +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. + + +%package devel +Summary: Include Files and Libraries mandatory for Development +License: LGPL-2.1+ +Group: System/Libraries +Requires: %{name}-tools = %version +Requires: libxslt = %{version} +Requires: glibc-devel +Requires: libgcrypt-devel +Requires: libgpg-error-devel +#libxml is automatically required with pkgconfig + +%description devel +This package contains all necessary include files and libraries needed +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 + +%description tools +This package contains xsltproc, a command line interface to the XSLT engine. + +%prep +%setup -q +cp %{SOURCE1001} . +cp %{SOURCE1002} . +cp %{SOURCE1003} . + +%build +CFLAGS+=" -fPIC" +LDFLAGS+=" -pie" +autoreconf -v --install --force +%configure --disable-static --with-pic --without-python +%__make %{?_smp_mflags} + +%check +%__make check || exit 0 + +%install +%make_install +%remove_docs + +%post -n libxslt -p /sbin/ldconfig + +%postun -n libxslt -p /sbin/ldconfig + +%files -n libxslt +%manifest %{name}.manifest +%defattr(-, root, root) +%license COPYING Copyright +%{_libdir}/lib*.so.* + +%files devel +%manifest %{name}.manifest +%defattr(-, root, root) +%license COPYING.LGPLv2.1 +%{_libdir}/lib*.so +%{_libdir}/*.sh +%{_libdir}/pkgconfig/*.pc +%{_includedir}/* +%{_datadir}/aclocal/* +%{_bindir}/xslt-config + +%files tools +%manifest %{name}.manifest +%defattr(-,root,root) +%license COPYING.GPLv2 +%{_bindir}/xsltproc |