###############################################################################
name = expat
-version = 2.0.1
-release = 2
+version = 2.5.0
+release = 1.1
groups = System/Libraries
-url = http://www.libexpat.org/
+url = https://www.libexpat.org/
license = MIT
-summary = An XML parser library.
+summary = An XML parser library
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 \
+ 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.
end
-source_dl =
+source_dl = https://github.com/libexpat/libexpat/releases/download/R_2_5_0/
+sources = %{thisapp}.tar.xz
build
- configure_options += \
- --libdir=/%{lib}
-
- install_cmds
- rm -vf %{BUILDROOT}/%{lib}/libexpat.so
- mkdir -pv %{BUILDROOT}%{libdir}
- ln -svf ../../%{lib}/libexpat.so.1 %{BUILDROOT}%{libdir}/libexpat.so
+ test
+ make check
end
end
packages
package %{name}
- end
package %{name}-devel
template DEVEL