packages: tinyxml/tinyxml.spec - updated to 2.6.2 - package static library ...

qboosh qboosh at pld-linux.org
Thu Jun 16 21:22:55 CEST 2011


Author: qboosh                       Date: Thu Jun 16 19:22:55 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.6.2
- package static library
- -devel R: libstdc++-devel

---- Files affected:
packages/tinyxml:
   tinyxml.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/tinyxml/tinyxml.spec
diff -u packages/tinyxml/tinyxml.spec:1.8 packages/tinyxml/tinyxml.spec:1.9
--- packages/tinyxml/tinyxml.spec:1.8	Mon Dec  6 16:44:07 2010
+++ packages/tinyxml/tinyxml.spec	Thu Jun 16 21:22:50 2011
@@ -3,17 +3,16 @@
 Summary:	A simple, small, C++ XML parser
 Summary(pl.UTF-8):	Prosty, mały, napisany w C++ parser XML
 Name:		tinyxml
-Version:	2.6.1
+Version:	2.6.2
 Release:	1
 License:	zlib
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/tinyxml/%{name}_%{file_version}.zip
-# Source0-md5:	60f92af4f43364ab0c6d5b655e804bd3
+Source0:	http://downloads.sourceforge.net/tinyxml/%{name}_%{file_version}.tar.gz
+# Source0-md5:	c1b864c96804a10526540c664ade67f0
 Patch0:		%{name}-flags.patch
 URL:		http://www.grinninglizard.com/tinyxml/
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
-BuildRequires:	unzip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,6 +28,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki tinyxml
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel
 
 %description devel
 Header files for tinyxml library.
@@ -36,6 +36,18 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki tinyxml.
 
+%package static
+Summary:	Static tinyxml library
+Summary(pl.UTF-8):	Statyczna biblioteka tinyxml
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static tinyxml library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka tinyxml.
+
 %prep
 %setup -q -n %{name}
 %patch0 -p1
@@ -54,7 +66,7 @@
 done
 libtool --tag=CXX --mode=link \
 	%{__cxx} %{rpmcxxflags} %{rpmldflags} \
-	-shared -rpath %{_libdir} -version-info 0:0:0 \
+	-rpath %{_libdir} -version-info 0:0:0 \
 	-o libtinyxml.la *.cpp.lo
 
 %install
@@ -80,9 +92,14 @@
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/libtinyxml.so
+%attr(755,root,root) %{_libdir}/libtinyxml.so
 %{_libdir}/libtinyxml.la
-%{_includedir}/*
+%{_includedir}/tinystr.h
+%{_includedir}/tinyxml.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libtinyxml.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -90,6 +107,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2011/06/16 19:22:50  qboosh
+- updated to 2.6.2
+- package static library
+- -devel R: libstdc++-devel
+
 Revision 1.8  2010/12/06 15:44:07  lisu
 - package libtinyxml.la and libtinyxml.so.0 as ghost
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tinyxml/tinyxml.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list