Projects
home:pandora:RobinOS23
expat
_service:download_src_package:expat.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:expat.spec of Package expat
%define anolis_release 1 %global unversion 2_4_8 Summary: An XML parser library Name: expat Version: %(echo %{unversion} | sed 's/_/./g') Release: %{anolis_release}%{?dist} Source: https://github.com/libexpat/libexpat/archive/R_%{unversion}.tar.gz#/expat-%{version}.tar.gz URL: https://libexpat.github.io/ License: MIT BuildRequires: autoconf, libtool, xmlto, gcc-c++ BuildRequires: make %description This is expat, the C library for parsing XML, written by James Clark. Expat is a stream oriented XML parser. This means that you register handlers with the parser prior to starting the parse. These handlers are called when the parser discovers the associated structures in the document being parsed. A start tag is an example of the kind of structures for which you may register handlers. %package devel Summary: Libraries and header files to develop applications using expat Requires: expat = %{version}-%{release} %description devel The expat-devel package contains the libraries, include files and documentation to develop XML applications with expat. %package static Summary: expat XML parser static library Requires: expat-devel = %{version}-%{release} %description static The expat-static package contains the static version of the expat library. Install it if you need to link statically with expat. %prep %setup -q sed -i 's/install-data-hook/do-nothing-please/' lib/Makefile.am ./buildconf.sh %build export CFLAGS="$RPM_OPT_FLAGS -fPIC" export DOCBOOK_TO_MAN="xmlto man" %configure %make_build %install %make_install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %check make check %ldconfig_scriptlets %files %doc AUTHORS Changes %license COPYING %{_bindir}/* %{_libdir}/lib*.so.* %{_mandir}/*/* %files devel %doc doc/reference.html doc/*.css examples/*.c %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/*.h %{_libdir}/cmake/expat-%{version} %files static %{_libdir}/lib*.a %changelog * Mon Sep 05 2022 Chunmei Xu <xuchunmei@linux.alibaba.com> - 2.4.8-1 - update to 2.4.8 * Thu Mar 03 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 2.4.6-1 - Init from upstream version 2.4.6
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2