- update to 2.0.1
- fix the License tag - drop the .la file
This commit is contained in:
parent
c4bc751586
commit
7a8b612016
@ -2,3 +2,4 @@ expat-1.95.8.tar.gz
|
|||||||
i386
|
i386
|
||||||
*.rpm
|
*.rpm
|
||||||
clog
|
clog
|
||||||
|
expat-2.0.1.tar.gz
|
||||||
|
24
expat.spec
24
expat.spec
@ -1,12 +1,11 @@
|
|||||||
Summary: A library for parsing XML documents
|
Summary: An XML parser library
|
||||||
Name: expat
|
Name: expat
|
||||||
Version: 1.95.8
|
Version: 2.0.1
|
||||||
Release: 10
|
Release: 1
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz
|
Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz
|
||||||
Patch0: expat-1.95.8-pedantic.patch
|
|
||||||
URL: http://www.libexpat.org/
|
URL: http://www.libexpat.org/
|
||||||
License: BSD
|
License: MIT
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
|
|
||||||
@ -29,14 +28,13 @@ to develop XML applications with expat.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .pedantic
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -rf autom4te*.cache
|
rm -rf autom4te*.cache
|
||||||
cp `aclocal --print-ac-dir`/libtool.m4 conftools || exit 1
|
cp `aclocal --print-ac-dir`/libtool.m4 conftools || exit 1
|
||||||
libtoolize --copy --force --automake && aclocal && autoheader && autoconf
|
libtoolize --copy --force --automake && aclocal && autoheader && autoconf
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||||
%configure
|
%configure --libdir=/%{_lib}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -44,11 +42,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
rm -f examples/*.dsp
|
rm -f examples/*.dsp
|
||||||
|
|
||||||
%makeinstall man1dir=$RPM_BUILD_ROOT/%{_mandir}/man1 \
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
libdir=$RPM_BUILD_ROOT/%{_lib}
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||||
mv $RPM_BUILD_ROOT/%{_lib}/libexpat.{so,a,la} $RPM_BUILD_ROOT%{_libdir}
|
mv $RPM_BUILD_ROOT/%{_lib}/libexpat.{so,a} $RPM_BUILD_ROOT%{_libdir}
|
||||||
|
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la
|
||||||
|
|
||||||
lib=`echo $RPM_BUILD_ROOT/%{_lib}/libexpat.so.*.*`
|
lib=`echo $RPM_BUILD_ROOT/%{_lib}/libexpat.so.*.*`
|
||||||
ln -sf ../../%{_lib}/`basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/libexpat.so
|
ln -sf ../../%{_lib}/`basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/libexpat.so
|
||||||
@ -74,6 +73,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 8 2007 Joe Orton <jorton@redhat.com> 2.0.1-1
|
||||||
|
- update to 2.0.1
|
||||||
|
- fix the License tag
|
||||||
|
- drop the .la file
|
||||||
|
|
||||||
* Sun Feb 4 2007 Joe Orton <jorton@redhat.com> 1.95.8-10
|
* Sun Feb 4 2007 Joe Orton <jorton@redhat.com> 1.95.8-10
|
||||||
- remove trailing dot in Summary (#225742)
|
- remove trailing dot in Summary (#225742)
|
||||||
- use preferred BuildRoot per packaging guidelines (#225742)
|
- use preferred BuildRoot per packaging guidelines (#225742)
|
||||||
|
Loading…
Reference in New Issue
Block a user