forked from pool/libxml2
Accepting request 135341 from home:jengelh:branches:devel:libraries:c_c++
- Remove .la files; make sure installation succeeds for Fedora_17 target OBS-URL: https://build.opensuse.org/request/show/135341 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=66
This commit is contained in:
committed by
Git OBS Bridge
parent
6122acf4ed
commit
def23ee0ab
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 21 18:04:16 UTC 2012 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove .la files; make sure installation succeeds for
|
||||||
|
Fedora_17 target
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 12 18:10:07 UTC 2012 - chris@computersalat.de
|
Tue Jun 12 18:10:07 UTC 2012 - chris@computersalat.de
|
||||||
|
|
||||||
|
|||||||
12
libxml2.spec
12
libxml2.spec
@@ -123,12 +123,13 @@ The library also supports RelaxNG. Support for W3C XML Schemas is in
|
|||||||
progress.
|
progress.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-html-subdir=packages/%{name}/html \
|
--docdir=%_docdir/%name \
|
||||||
|
--with-html-dir=%_docdir/%name/html \
|
||||||
--with-fexceptions \
|
--with-fexceptions \
|
||||||
--with-history \
|
--with-history \
|
||||||
--without-python \
|
--without-python \
|
||||||
@@ -139,10 +140,12 @@ progress.
|
|||||||
--with-reader \
|
--with-reader \
|
||||||
--with-http
|
--with-http
|
||||||
|
|
||||||
make %{?_smp_mflags} DOC_MODULE=packages/%{name}
|
make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall DOC_MODULE=packages/%{name}
|
make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name"
|
||||||
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
mkdir -p "%buildroot/%_docdir/%name"
|
||||||
cp -a AUTHORS NEWS README COPYING* Copyright TODO* %{buildroot}%{_docdir}/%{name}/
|
cp -a AUTHORS NEWS README COPYING* Copyright TODO* %{buildroot}%{_docdir}/%{name}/
|
||||||
ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
|
ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
|
||||||
|
|
||||||
@@ -177,7 +180,6 @@ make check
|
|||||||
%{_includedir}/libxml
|
%{_includedir}/libxml
|
||||||
%{_includedir}/libxml2
|
%{_includedir}/libxml2
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/libxml2.la
|
|
||||||
%{_libdir}/*.sh
|
%{_libdir}/*.sh
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%doc %{_mandir}/man1/xml2-config.1*
|
%doc %{_mandir}/man1/xml2-config.1*
|
||||||
|
|||||||
Reference in New Issue
Block a user