[packages/poco] - up to 1.4.7p1 - license is Boost - use "all" tarball, includes more components: Crypto NetSSL_Op

glen glen at pld-linux.org
Fri Dec 5 11:03:54 CET 2014


commit 74af4299a2b34699a6fa2554ec019968b176dec6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 5 11:39:33 2014 +0200

    - up to 1.4.7p1
    - license is Boost
    - use "all" tarball, includes more components:
      Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL Zip PageCompiler PageCompiler/File2Page

 poco.spec | 37 +++++++++++++++++++------------------
 1 file changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/poco.spec b/poco.spec
index e0d64ee..6411876 100644
--- a/poco.spec
+++ b/poco.spec
@@ -5,15 +5,16 @@
 
 Summary:	C++ class libraries and frameworks for building network- and internet-based applications
 Name:		poco
-Version:	1.4.2p1
+Version:	1.4.7p1
 Release:	0.1
-License:	other
+License:	Boost
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/poco/%{name}-%{version}.tar.gz
-# Source0-md5:	d4f150b4a4365efccaae3e8263c0e368
+Source0:	http://pocoproject.org/releases/poco-1.4.7/%{name}-%{version}-all.tar.gz
+# Source0-md5:	12551b729456c985cffd14e977526c01
 URL:		http://pocoproject.org/
 BuildRequires:	expat-devel
 BuildRequires:	libiodbc-devel
+BuildRequires:	libstdc++-devel
 BuildRequires:	mysql-devel
 BuildRequires:	openssl-devel
 BuildRequires:	pcre-devel
@@ -27,38 +28,38 @@ building network- and internet-based applications that run on desktop,
 server and embedded systems.
 
 %package devel
-Summary:	Header files for FOO library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki FOO
+Summary:	Header files for POCO C++ libraries
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki POCO C++
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
-Header files for poco library.
+Header files for POCO C++ libraries.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki poco.
+Pliki nagłówkowe biblioteki POCO C++.
 
 %package static
-Summary:	Static poco library
-Summary(pl.UTF-8):	Statyczna biblioteka poco
+Summary:	Static POCO C++ library
+Summary(pl.UTF-8):	Statyczna biblioteka POCO C++
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-Static poco library.
+Static POCO C++ libraries.
 
 %description static -l pl.UTF-8
-Statyczna biblioteka poco.
+Statyczna biblioteka POCO C++.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-all
 
 %{__sed} -i -e 's|$(INSTALLDIR)/lib\b|$(INSTALLDIR)/%{_lib}|g' Makefile
-#%{__sed} -i -e 's|ODBCLIBDIR = /usr/lib\b|ODBCLIBDIR = %{_libdir}|g' Data/ODBC/Makefile Data/ODBC/testsuite/Makefile
+%{__sed} -i -e 's|ODBCLIBDIR = /usr/lib\b|ODBCLIBDIR = %{_libdir}|g' Data/ODBC/Makefile Data/ODBC/testsuite/Makefile
 %{__sed} -i -e 's|flags=""|flags="%{optflags}"|g' configure
 %{__sed} -i -e 's|SHAREDOPT_LINK  = -Wl,-rpath,$(LIBPATH)|SHAREDOPT_LINK  =|g' build/config/Linux
 %{__sed} -i -e 's|#endif|#define POCO_UNBUNDLED 1\n\n#endif|g' Foundation/include/Poco/Config.h
-#%{__sed} -i -e 's|"Poco/zlib.h"|<zlib.h>|g' Zip/src/ZipStream.cpp
+%{__sed} -i -e 's|"Poco/zlib.h"|<zlib.h>|g' Zip/src/ZipStream.cpp
 
 %{__rm} Foundation/src/MSG00001.bin
 %{__rm} Foundation/include/Poco/zconf.h
@@ -69,7 +70,7 @@ Statyczna biblioteka poco.
 %{__rm} Foundation/src/crc32.h
 %{__rm} Foundation/src/deflate.c
 %{__rm} Foundation/src/deflate.h
-%{__rm} Foundation/src/gzio.c
+#%{__rm} Foundation/src/gzio.c
 %{__rm} Foundation/src/infback.c
 %{__rm} Foundation/src/inffast.c
 %{__rm} Foundation/src/inffast.h
@@ -97,8 +98,8 @@ Statyczna biblioteka poco.
 %{__rm} Foundation/src/pcre_try_flipped.c
 %{__rm} Foundation/src/pcre_valid_utf8.c
 %{__rm} Foundation/src/pcre_xclass.c
-#%{__rm} Data/SQLite/src/sqlite3.h
-#%{__rm} Data/SQLite/src/sqlite3.c
+%{__rm} Data/SQLite/src/sqlite3.h
+%{__rm} Data/SQLite/src/sqlite3.c
 %{__rm} XML/include/Poco/XML/expat.h
 %{__rm} XML/include/Poco/XML/expat_external.h
 %{__rm} XML/src/ascii.h
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poco.git/commitdiff/12d83d49b759ac2eac23df779f1981a92b79272b



More information about the pld-cvs-commit mailing list