mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
Made spec file autogenerate, tweaked it also
Dr Mike <drmike@redhat.com>
This commit is contained in:
parent
a4b4430a11
commit
63dc42c681
@ -57,9 +57,12 @@ tests : tester
|
||||
confexecdir=$(libdir)
|
||||
confexec_DATA = xmlConf.sh
|
||||
|
||||
EXTRA_DIST = xmlConf.sh.in libxml.spec doc/xml.html doc/structure.gif \
|
||||
EXTRA_DIST = xmlConf.sh.in libxml.spec.in doc/xml.html doc/structure.gif \
|
||||
doc/DOM.gif
|
||||
|
||||
dist-hook:
|
||||
cp libxml.spec $(distdir)
|
||||
|
||||
## We create xmlConf.sh here and not from configure because we want
|
||||
## to get the paths expanded correctly. Macros like srcdir are given
|
||||
## the value NONE in configure if the user doesn't specify them (this
|
||||
|
@ -62,5 +62,5 @@ dnl Checks for library functions.
|
||||
AC_FUNC_STRFTIME
|
||||
AC_CHECK_FUNCS(strdup strndup strerror snprintf )
|
||||
AC_SUBST(Z_LIBS)
|
||||
AC_OUTPUT(Makefile doc/Makefile xml-config)
|
||||
AC_OUTPUT(libxml.spec Makefile doc/Makefile xml-config)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Note that this is NOT a relocatable package
|
||||
%define ver 0.99.8
|
||||
%define ver @VERSION@
|
||||
%define rel SNAP
|
||||
%define prefix /usr
|
||||
|
||||
@ -9,9 +9,9 @@ Version: %ver
|
||||
Release: %rel
|
||||
Copyright: LGPL
|
||||
Group: X11/Libraries
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/libxml-%{ver}.tar.gz
|
||||
BuildRoot: /var/tmp/libxml-root
|
||||
Packager: Michael Fulbright <msf@redhat.com>
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/libxml/libxml-%{ver}.tar.gz
|
||||
BuildRoot: /var/tmp/libxml-%{PACKAGE_VERSION}-root
|
||||
|
||||
URL: http://www.gnome.org
|
||||
Prereq: /sbin/install-info
|
||||
Docdir: %{prefix}/doc
|
||||
@ -63,7 +63,7 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
|
||||
|
||||
|
||||
%clean
|
||||
#rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user