diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-09-13 14:30:12 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-09-13 14:30:34 +0900 |
commit | 976270c7747e83db245206f0ab3dfe90b33fd1a0 (patch) | |
tree | 8cbea4937f17215a70c1765a8858af1d79229569 /packaging/libxslt.spec | |
parent | 2fe78f50bf6a5ea3e4c235f0ee5f6be66f42996e (diff) | |
download | libxslt-accepted/tizen/7.0/base/20230714.002957.tar.gz libxslt-accepted/tizen/7.0/base/20230714.002957.tar.bz2 libxslt-accepted/tizen/7.0/base/20230714.002957.zip |
Bump to libxslt 1.1.37tizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen_base/20220913.064422submit/tizen_7.0_base_hotfix/20221115.161601submit/tizen_7.0_base/20221028.201101accepted/tizen/base/tool/20220915.013504accepted/tizen/base/riscv/20231110.002647accepted/tizen/base/20230714.003401accepted/tizen/8.0/base/20231005.044917accepted/tizen/7.0/base/tool/hotfix/20221115.085411accepted/tizen/7.0/base/tool/20221028.120921accepted/tizen/7.0/base/hotfix/20230714.003810accepted/tizen/7.0/base/20230714.002957tizen_7.0_base_hotfixtizen_7.0_basesandbox/dh0128.kwak/libxslt-1.1.37-20220913sandbox/backup/libxslt_1.1.37_20231207accepted/tizen_base_toolaccepted/tizen_7.0_base_tool_hotfixaccepted/tizen_7.0_base_toolaccepted/tizen_7.0_base_hotfixaccepted/tizen_7.0_base
Change-Id: I3f78fc370762b824fd693bba5197a6bd1fe87537
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'packaging/libxslt.spec')
-rw-r--r-- | packaging/libxslt.spec | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/packaging/libxslt.spec b/packaging/libxslt.spec new file mode 100644 index 00000000..3f06822b --- /dev/null +++ b/packaging/libxslt.spec @@ -0,0 +1,96 @@ +Name: libxslt +Version: 1.1.37 +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.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: MIT +Group: System/Libraries +Requires: %{name}-tools = %version +Requires: libxslt = %{version} +Requires: glibc-devel +Requires: libgcrypt-devel +Requires: libgpg-error-devel + +%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} . + +%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 +%license Copyright +%{_libdir}/lib*.so.* + +%files devel +%manifest %{name}.manifest +%license Copyright +%{_libdir}/lib*.so +%{_libdir}/*.sh +%{_libdir}/pkgconfig/*.pc +%{_includedir}/* +%{_datadir}/aclocal/* +%{_bindir}/xslt-config +%{_libdir}/cmake/%{name}/*.cmake + +%files tools +%manifest %{name}.manifest +%license Copyright COPYING.GPLv2 +%{_bindir}/xsltproc |