SPECS: libxml++.spec - updated to 2.18.0 - added apidocs and examp...
megabajt
megabajt at pld-linux.org
Wed Mar 7 17:20:26 CET 2007
Author: megabajt Date: Wed Mar 7 16:20:26 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.18.0
- added apidocs and examples subpackage
---- Files affected:
SPECS:
libxml++.spec (1.28 -> 1.29)
---- Diffs:
================================================================
Index: SPECS/libxml++.spec
diff -u SPECS/libxml++.spec:1.28 SPECS/libxml++.spec:1.29
--- SPECS/libxml++.spec:1.28 Tue Feb 13 07:46:52 2007
+++ SPECS/libxml++.spec Wed Mar 7 17:20:21 2007
@@ -2,20 +2,20 @@
Summary: C++ interface for working with XML files
Summary(pl.UTF-8): Interfejs C++ do pracy z plikami XML
Name: libxml++
-Version: 2.14.0
-Release: 3
+Version: 2.18.0
+Release: 1
License: LGPL
Group: Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.14/%{name}-%{version}.tar.bz2
-# Source0-md5: 4f5644788dfd6ba87ce7c9b6cc28890d
+Source0: http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.18/%{name}-%{version}.tar.bz2
+# Source0-md5: ae1d27f2117193bbd71dec92a265db9a
URL: http://libxmlplusplus.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: glibmm-devel >= 2.11.3
+BuildRequires: glibmm-devel >= 2.12.7
BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.26
+BuildRequires: libxml2-devel >= 1:2.6.27
BuildRequires: pkgconfig
-Requires: glibmm >= 2.11.3
+Requires: glibmm >= 2.12.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -29,8 +29,8 @@
Summary(pl.UTF-8): Pliki nagłówkowe do libxml++
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: glibmm-devel >= 2.11.3
-Requires: libxml2-devel >= 1:2.6.26
+Requires: glibmm-devel >= 2.12.7
+Requires: libxml2-devel >= 1:2.6.27
%description devel
Header files for libxml++.
@@ -50,6 +50,29 @@
%description static -l pl.UTF-8
Biblioteka statyczna libxml++.
+%package apidocs
+Summary: libxml++ API documentation
+Summary(pl.UTF-8): Dokumentacja API libxml++
+Group: Documentation
+
+%description apidocs
+libxml++ API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API libxml++.
+
+%package examples
+Summary: libxml++ - example programs
+Summary(pl.UTF-8): libxml++ - przykładowe programy
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description examples
+libxml++ - example programs.
+
+%description examples -l pl.UTF-8
+libxml++ - przykładowe programy.
+
%prep
%setup -q
@@ -63,15 +86,22 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install -d docs_install/{manual,reference}
cp -R docs/manual/html/* docs_install/manual
-cp -R docs/reference/2.14/html/* docs_install/reference
+cp -R docs/reference/2.18/html/* docs_install/reference
+
+rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}-2.6/docs/{manual,reference/2.18}/html
+
+# clean examples dir
+%{__make} -C examples clean
+find examples -type d -name .deps | xargs rm -rf
-rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}-2.6/docs/{manual,reference/2.14}/html
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -86,9 +116,9 @@
%files devel
%defattr(644,root,root,755)
-%doc docs_install/{manual,reference}
%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
+%{_libdir}/libxml++-2.6
%{_includedir}/*
%{_pkgconfigdir}/*
@@ -96,12 +126,24 @@
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%files apidocs
+%defattr(644,root,root,755)
+%doc docs_install/{manual,reference}
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.29 2007/03/07 16:20:21 megabajt
+- updated to 2.18.0
+- added apidocs and examples subpackage
+
Revision 1.28 2007/02/13 06:46:52 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libxml++.spec?r1=1.28&r2=1.29&f=u
More information about the pld-cvs-commit
mailing list