rpms/poco/EL-5 import.log, NONE, 1.1 poco-1.3.5-RH-old-SQLite.patch, NONE, 1.1 poco-1.3.5-syslibs.patch, NONE, 1.1 poco.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matej Cepl mcepl at fedoraproject.org
Tue Apr 6 13:31:44 UTC 2010


Author: mcepl

Update of /cvs/pkgs/rpms/poco/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4280/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	import.log poco-1.3.5-RH-old-SQLite.patch 
	poco-1.3.5-syslibs.patch poco.spec 
Log Message:
First attempt to make a buildable package on EPEL-5.



--- NEW FILE import.log ---
poco-1_3_5-8:EL-5:poco-1.3.5-8.src.rpm:1270560653

poco-1.3.5-RH-old-SQLite.patch:
 include/Poco/Data/SQLite/SQLite.h |    5 +++++
 src/Connector.cpp                 |    2 +-
 src/SQLiteStatementImpl.cpp       |    2 +-
 src/SessionImpl.cpp               |    1 -
 4 files changed, 7 insertions(+), 3 deletions(-)

--- NEW FILE poco-1.3.5-RH-old-SQLite.patch ---
diff -up poco-1.3.5-all/Data/SQLite/include/Poco/Data/SQLite/SQLite.h.old-sqlite poco-1.3.5-all/Data/SQLite/include/Poco/Data/SQLite/SQLite.h
--- poco-1.3.5-all/Data/SQLite/include/Poco/Data/SQLite/SQLite.h.old-sqlite	2010-04-06 14:39:21.000000000 +0200
+++ poco-1.3.5-all/Data/SQLite/include/Poco/Data/SQLite/SQLite.h	2010-04-06 14:40:44.000000000 +0200
@@ -66,6 +66,11 @@
 	#define SQLite_API
 #endif
 
+// Attempt to make this build compatible with more recent versions of SQLite
+// API.
+#ifndef SQLITE_LOCKED_SHAREDCACHE
+	#define SQLITE_LOCKED_SHAREDCACHE      (SQLITE_LOCKED | (1<<8) )
+#endif
 
 //
 // Automatically link Data library.
diff -up poco-1.3.5-all/Data/SQLite/src/Connector.cpp.old-sqlite poco-1.3.5-all/Data/SQLite/src/Connector.cpp
--- poco-1.3.5-all/Data/SQLite/src/Connector.cpp.old-sqlite	2010-04-06 14:34:27.000000000 +0200
+++ poco-1.3.5-all/Data/SQLite/src/Connector.cpp	2010-04-06 14:11:24.000000000 +0200
@@ -84,7 +84,7 @@ void Connector::enableSharedCache(bool f
 
 void Connector::enableSoftHeapLimit(int limit)
 {
-	sqlite3_soft_heap_limit(limit);
+	//sqlite3_soft_heap_limit(limit);
 }
 
 
diff -up poco-1.3.5-all/Data/SQLite/src/SessionImpl.cpp.old-sqlite poco-1.3.5-all/Data/SQLite/src/SessionImpl.cpp
--- poco-1.3.5-all/Data/SQLite/src/SessionImpl.cpp.old-sqlite	2009-05-12 20:22:14.000000000 +0200
+++ poco-1.3.5-all/Data/SQLite/src/SessionImpl.cpp	2010-04-03 10:01:45.000000000 +0200
@@ -115,7 +115,6 @@ void SessionImpl::open()
 		Utility::throwException(rc);
 	}
 
-	sqlite3_extended_result_codes(_pDB, 1);
 	_connected = true;
 }
 
diff -up poco-1.3.5-all/Data/SQLite/src/SQLiteStatementImpl.cpp.old-sqlite poco-1.3.5-all/Data/SQLite/src/SQLiteStatementImpl.cpp
--- poco-1.3.5-all/Data/SQLite/src/SQLiteStatementImpl.cpp.old-sqlite	2009-05-12 20:22:14.000000000 +0200
+++ poco-1.3.5-all/Data/SQLite/src/SQLiteStatementImpl.cpp	2010-04-06 14:41:10.000000000 +0200
@@ -103,7 +103,7 @@ void SQLiteStatementImpl::compileImplImp
 
 	while (rc == SQLITE_OK && !pStmt && !queryFound)
 	{
-		rc = sqlite3_prepare_v2(_pDB, pSql, -1, &pStmt, &pLeftover);
+		rc = sqlite3_prepare(_pDB, pSql, -1, &pStmt, &pLeftover);
 		if (rc != SQLITE_OK)
 		{
 			if (pStmt) 
diff -up poco-1.3.5-all/Data/SQLite/src/Utility.cpp.old-sqlite poco-1.3.5-all/Data/SQLite/src/Utility.cpp

poco-1.3.5-syslibs.patch:
 Data/SQLite/Makefile                      |    5 ++-
 Foundation/Makefile                       |    9 ++----
 Foundation/include/Poco/DeflatingStream.h |    2 -
 Foundation/include/Poco/InflatingStream.h |    2 -
 Foundation/src/Checksum.cpp               |    2 -
 Foundation/src/Unicode.cpp                |   41 +++++++++++-------------------
 XML/Makefile                              |    4 ++
 XML/include/Poco/XML/ParserEngine.h       |    2 -
 Zip/src/ZipStream.cpp                     |    2 -
 9 files changed, 30 insertions(+), 39 deletions(-)

--- NEW FILE poco-1.3.5-syslibs.patch ---
diff -up poco-1.3.5-all/Data/SQLite/Makefile.orig poco-1.3.5-all/Data/SQLite/Makefile
--- poco-1.3.5-all/Data/SQLite/Makefile.orig	2009-05-12 22:22:14.000000000 +0400
+++ poco-1.3.5-all/Data/SQLite/Makefile	2009-11-10 17:09:22.957867329 +0300
@@ -8,13 +8,14 @@
 
 include $(POCO_BASE)/build/rules/global
 
+SYSLIBS += -lsqlite3
+
 SYSFLAGS += -DSQLITE_THREADSAFE=1 -DSQLITE_DISABLE_LFS \
 	-DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_COMPLETE \
 	-DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_DEPRECATED
 
 objects = Binder Extractor SessionImpl Connector \
-	SQLiteException SQLiteStatementImpl Utility \
-	sqlite3
+	SQLiteException SQLiteStatementImpl Utility
 
 target         = PocoSQLite
 target_version = $(LIBVERSION)
diff -up poco-1.3.5-all/Foundation/include/Poco/DeflatingStream.h.orig poco-1.3.5-all/Foundation/include/Poco/DeflatingStream.h
--- poco-1.3.5-all/Foundation/include/Poco/DeflatingStream.h.orig	2009-05-12 22:22:09.000000000 +0400
+++ poco-1.3.5-all/Foundation/include/Poco/DeflatingStream.h	2009-11-10 12:38:48.314866556 +0300
@@ -44,7 +44,7 @@
 #include "Poco/BufferedStreamBuf.h"
 #include <istream>
 #include <ostream>
-#include "Poco/zlib.h"
+#include <zlib.h>
 
 
 namespace Poco {
diff -up poco-1.3.5-all/Foundation/include/Poco/InflatingStream.h.orig poco-1.3.5-all/Foundation/include/Poco/InflatingStream.h
--- poco-1.3.5-all/Foundation/include/Poco/InflatingStream.h.orig	2009-05-12 22:22:09.000000000 +0400
+++ poco-1.3.5-all/Foundation/include/Poco/InflatingStream.h	2009-11-10 12:46:42.097867271 +0300
@@ -44,7 +44,7 @@
 #include "Poco/BufferedStreamBuf.h"
 #include <istream>
 #include <ostream>
-#include "Poco/zlib.h"
+#include <zlib.h>
 
 
 namespace Poco {
diff -up poco-1.3.5-all/Foundation/Makefile.orig poco-1.3.5-all/Foundation/Makefile
--- poco-1.3.5-all/Foundation/Makefile.orig	2009-05-12 22:22:09.000000000 +0400
+++ poco-1.3.5-all/Foundation/Makefile	2009-11-10 17:14:06.332866868 +0300
@@ -8,6 +8,8 @@
 
 include $(POCO_BASE)/build/rules/global
 
+SYSLIBS += -lz -lpcre
+
 objects = ArchiveStrategy ASCIIEncoding AsyncChannel Base64Decoder Base64Encoder \
 	BinaryReader BinaryWriter Bugcheck ByteOrder Channel Checksum Configurable ConsoleChannel \
 	CountingStream DateTime LocalDateTime DateTimeFormat DateTimeFormatter DateTimeParser \
@@ -31,12 +33,7 @@ objects = ArchiveStrategy ASCIIEncoding 
 	FileStreamFactory URIStreamFactory URIStreamOpener UTF16Encoding Windows1252Encoding \
 	UTF8Encoding UnicodeConverter UUID UUIDGenerator Void Format \
 	Pipe PipeImpl PipeStream DynamicAny DynamicAnyHolder SharedMemory \
-	FileStream Unicode UTF8String AtomicCounter \
-	adler32 compress crc32  deflate gzio infback inffast inflate inftrees  \
-	trees zutil \
-	pcre_chartables pcre_compile pcre_globals pcre_maketables pcre_study \
-	pcre_tables pcre_try_flipped pcre_ucd pcre_valid_utf8 \
-	pcre_exec pcre_ord2utf8 pcre_newline pcre_fullinfo pcre_xclass
+	FileStream Unicode UTF8String AtomicCounter
 
 ifeq ($(POCO_CONFIG),MinGW)
 	objects += EventLogChannel WindowsConsoleChannel
diff -up poco-1.3.5-all/Foundation/src/Checksum.cpp.orig poco-1.3.5-all/Foundation/src/Checksum.cpp
--- poco-1.3.5-all/Foundation/src/Checksum.cpp.orig	2009-05-12 22:22:09.000000000 +0400
+++ poco-1.3.5-all/Foundation/src/Checksum.cpp	2009-11-10 12:43:27.317866563 +0300
@@ -35,7 +35,7 @@
 
 
 #include "Poco/Checksum.h"
-#include "Poco/zlib.h"
+#include <zlib.h>
 
 
 namespace Poco {
diff -up poco-1.3.5-all/Foundation/src/Unicode.cpp.orig poco-1.3.5-all/Foundation/src/Unicode.cpp
--- poco-1.3.5-all/Foundation/src/Unicode.cpp.orig	2009-05-12 22:22:09.000000000 +0400
+++ poco-1.3.5-all/Foundation/src/Unicode.cpp	2009-11-11 15:02:28.189540436 +0300
@@ -37,56 +37,47 @@
 #include "Poco/Unicode.h"
 
 
-extern "C"
-{
-#include "pcre_config.h"
-#include "pcre_internal.h"
-}
+#include <wctype.h>
+#include <locale.h>
 
 
 namespace Poco {
 
 
-void Unicode::properties(int ch, CharacterProperties& props)
-{
-	const ucd_record* ucd = GET_UCD(ch);
-	props.category = static_cast<CharacterCategory>(_pcre_ucp_gentype[ucd->chartype]);
-	props.type     = static_cast<CharacterType>(ucd->chartype);
-	props.script   = static_cast<Script>(ucd->script);
+//void Unicode::properties(int ch, CharacterProperties& props)
+//{
+//}
+
+
+locale_t get_ctype_locale() {
+	static locale_t locale= NULL;
+	if(!locale)
+		locale= newlocale(LC_CTYPE_MASK, "en_US.UTF-8", NULL);
+	return locale;
 }
 
 	
 bool Unicode::isLower(int ch)
 {
-	CharacterProperties props;
-	properties(ch, props);
-	return props.category == UCP_LETTER && props.type == UCP_LOWER_CASE_LETTER;
+	return iswlower_l(ch, get_ctype_locale());
 }
 
 	
 bool Unicode::isUpper(int ch)
 {
-	CharacterProperties props;
-	properties(ch, props);
-	return props.category == UCP_LETTER && props.type == UCP_UPPER_CASE_LETTER;
+	return iswupper_l(ch, get_ctype_locale());
 }
 
 	
 int Unicode::toLower(int ch)
 {
-	if (isUpper(ch))
-		return static_cast<int>(UCD_OTHERCASE(static_cast<unsigned>(ch)));
-	else
-		return ch;
+	return towlower_l(ch, get_ctype_locale());
 }
 
 
 int Unicode::toUpper(int ch)
 {
-	if (isLower(ch))
-		return static_cast<int>(UCD_OTHERCASE(static_cast<unsigned>(ch)));
-	else
-		return ch;
+	return towupper_l(ch, get_ctype_locale());
 }
 
 
diff -up poco-1.3.5-all/XML/include/Poco/XML/ParserEngine.h.orig poco-1.3.5-all/XML/include/Poco/XML/ParserEngine.h
--- poco-1.3.5-all/XML/include/Poco/XML/ParserEngine.h.orig	2009-05-12 22:22:11.000000000 +0400
+++ poco-1.3.5-all/XML/include/Poco/XML/ParserEngine.h	2009-11-11 11:56:28.373540121 +0300
@@ -40,7 +40,7 @@
 
 
 #include "Poco/XML/XML.h"
-#include "Poco/XML/expat.h"
+#include <expat.h>
 #include "Poco/XML/XMLString.h"
 #include "Poco/XML/XMLStream.h"
 #include "Poco/SAX/Locator.h"
diff -up poco-1.3.5-all/XML/Makefile.orig poco-1.3.5-all/XML/Makefile
--- poco-1.3.5-all/XML/Makefile.orig	2009-05-12 22:22:11.000000000 +0400
+++ poco-1.3.5-all/XML/Makefile	2009-11-11 11:43:26.166540987 +0300
@@ -8,6 +8,8 @@
 
 include $(POCO_BASE)/build/rules/global
 
+SYSLIBS += -lexpat
+
 COMMONFLAGS += -DXML_NS -DXML_DTD -DHAVE_EXPAT_CONFIG_H
 
 objects = AbstractContainerNode AbstractNode Attr AttrMap Attributes \
@@ -22,7 +24,7 @@ objects = AbstractContainerNode Abstract
 	NamespaceSupport Node NodeFilter NodeIterator NodeList Notation \
 	ParserEngine ProcessingInstruction SAXException SAXParser Text \
 	TreeWalker WhitespaceFilter XMLException XMLFilter XMLFilterImpl XMLReader \
-	XMLString XMLWriter NodeAppender xmlparse xmlrole xmltok
+	XMLString XMLWriter NodeAppender
 
 target         = PocoXML
 target_version = $(LIBVERSION)
diff -up poco-1.3.5-all/Zip/src/ZipStream.cpp.orig poco-1.3.5-all/Zip/src/ZipStream.cpp
--- poco-1.3.5-all/Zip/src/ZipStream.cpp.orig	2009-05-12 22:22:14.000000000 +0400
+++ poco-1.3.5-all/Zip/src/ZipStream.cpp	2009-11-10 13:33:44.681866874 +0300
@@ -35,7 +35,7 @@
 
 
 #include "Poco/Zip/ZipStream.h"
-#include "Poco/zlib.h"
+#include <zlib.h>
 #include "Poco/Zip/ZipArchive.h"
 #include "Poco/Zip/AutoDetectStream.h"
 #include "Poco/Zip/PartialStream.h"


--- NEW FILE poco.spec ---

Name:             poco
Version:          1.3.5
Release:          8%{?dist}
Summary:          C++ class libraries for network-centric applications

Group:            Development/Libraries
License:          Boost
URL:              http://pocoproject.org

Source0:          http://downloads.sourceforge.net/poco/poco-%{version}-all.tar.bz2
Source1:          http://downloads.sourceforge.net/poco/poco-%{version}-doc.tar.gz

# This patch updates makefiles and sources in order to exclude the 
# bundled versions of the system libraries from the build process.
Patch0:           poco-1.3.5-syslibs.patch
Patch1:           poco-1.3.5-RH-old-SQLite.patch

BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:    openssl-devel
BuildRequires:    libiodbc-devel
BuildRequires:    mysql-devel
BuildRequires:    zlib-devel
BuildRequires:    pcre-devel
BuildRequires:    sqlite-devel
BuildRequires:    expat-devel
BuildRequires:   cppunit

%description
The POCO C++ Libraries (POCO stands for POrtable COmponents) 
are open source C++ class libraries that simplify and accelerate the 
development of network-centric, portable applications in C++. The 
POCO C++ Libraries are built strictly on standard ANSI/ISO C++, 
including the standard library.

%prep
%setup -q -n poco-%{version}-all -a1
/bin/chmod -R a-x+X poco-%{version}-doc
/bin/sed -i.orig -e 's|$(INSTALLDIR)/lib\b|$(INSTALLDIR)/%{_lib}|g' Makefile
/bin/sed -i.orig -e 's|ODBCLIBDIR = /usr/lib\b|ODBCLIBDIR = %{_libdir}|g' Data/ODBC/Makefile Data/ODBC/testsuite/Makefile
/bin/sed -i.orig -e 's|flags=""|flags="%{optflags}"|g' configure
rm -f Crypto/include/Poco/.*DS_Store
rm -f Foundation/src/MSG00001.bin
%patch0 -p1 -b .syslibs
rm -f Foundation/include/Poco/zconf.h
rm -f Foundation/include/Poco/zlib.h
rm -f Foundation/src/adler32.c
rm -f Foundation/src/compress.c
rm -f Foundation/src/crc32.c
rm -f Foundation/src/crc32.h
rm -f Foundation/src/deflate.c
rm -f Foundation/src/deflate.h
rm -f Foundation/src/gzio.c
rm -f Foundation/src/infback.c
rm -f Foundation/src/inffast.c
rm -f Foundation/src/inffast.h
rm -f Foundation/src/inffixed.h
rm -f Foundation/src/inflate.c
rm -f Foundation/src/inflate.h
rm -f Foundation/src/inftrees.c
rm -f Foundation/src/inftrees.h
rm -f Foundation/src/trees.c
rm -f Foundation/src/trees.h
rm -f Foundation/src/zconf.h
rm -f Foundation/src/zlib.h
rm -f Foundation/src/zutil.c
rm -f Foundation/src/zutil.h
rm -f Foundation/src/pcre*
rm -f Foundation/src/ucp.h
rm -f Data/SQLite/src/sqlite3.*
rm -f XML/include/Poco/XML/expat.h
rm -f XML/include/Poco/XML/expat_external.h
rm -f XML/src/ascii.h
rm -f XML/src/asciitab.h
rm -f XML/src/expat_config.h
rm -f XML/src/iasciitab.h
rm -f XML/src/internal.h
rm -f XML/src/latin1tab.h
rm -f XML/src/nametab.h
rm -f XML/src/utf8tab.h
rm -f XML/src/xmlparse.cpp
rm -f XML/src/xmlrole.c
rm -f XML/src/xmlrole.h
rm -f XML/src/xmltok.c
rm -f XML/src/xmltok.h
rm -f XML/src/xmltok_impl.c
rm -f XML/src/xmltok_impl.h
rm -f XML/src/xmltok_ns.c

# Make it working with old sqlite
%patch1 -p1 -b .old-sqlite

%build
%configure --include-path=%{_includedir}/libiodbc --library-path=%{_libdir}/mysql
make %{?_smp_mflags} STRIP=/bin/true

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%package          foundation
Summary:          The Foundation POCO component
Group:            System Environment/Libraries

%description foundation
This package contains the Foundation component of POCO. (POCO is a set 
of C++ class libraries for network-centric applications.)

%post foundation -p /sbin/ldconfig

%postun foundation -p /sbin/ldconfig

%files foundation
%defattr(-, root, root, -)
%{_libdir}/libPocoFoundation.so.*

%package          xml
Summary:          The XML POCO component
Group:            System Environment/Libraries

%description xml
This package contains the XML component of POCO. (POCO is a set of C++ 
class libraries for network-centric applications.)

%post xml -p /sbin/ldconfig

%postun xml -p /sbin/ldconfig

%files xml
%defattr(-, root, root, -)
%{_libdir}/libPocoXML.so.*

%package          util
Summary:          The Util POCO component
Group:            System Environment/Libraries

%description util
This package contains the Util component of POCO. (POCO is a set of C++ 
class libraries for network-centric applications.)

%post util -p /sbin/ldconfig

%postun util -p /sbin/ldconfig

%files util
%defattr(-, root, root, -)
%{_libdir}/libPocoUtil.so.*

%package          net
Summary:          The Net POCO component
Group:            System Environment/Libraries

%description net
This package contains the Net component of POCO. (POCO is a set of C++ 
class libraries for network-centric applications.)

%post net -p /sbin/ldconfig

%postun net -p /sbin/ldconfig

%files net
%defattr(-, root, root, -)
%{_libdir}/libPocoNet.so.*

%package          crypto
Summary:          The Crypto POCO component
Group:            System Environment/Libraries

%description crypto
This package contains the Crypto component of POCO. (POCO is a set of 
C++ class libraries for network-centric applications.)

%post crypto -p /sbin/ldconfig

%postun crypto -p /sbin/ldconfig

%files crypto
%defattr(-, root, root, -)
%{_libdir}/libPocoCrypto.so.*

%package          netssl
Summary:          The NetSSL POCO component
Group:            System Environment/Libraries

%description netssl
This package contains the NetSSL component of POCO. (POCO is a set of 
C++ class libraries for network-centric applications.)

%post netssl -p /sbin/ldconfig

%postun netssl -p /sbin/ldconfig

%files netssl
%defattr(-, root, root, -)
%{_libdir}/libPocoNetSSL.so.*

%package          data
Summary:          The Data POCO component
Group:            System Environment/Libraries

%description data
This package contains the Data component of POCO. (POCO is a set of 
C++ class libraries for network-centric applications.)

%post data -p /sbin/ldconfig

%postun data -p /sbin/ldconfig

%files data
%defattr(-, root, root, -)
%{_libdir}/libPocoData.so.*

%package          sqlite
Summary:          The Data/SQLite POCO component
Group:            System Environment/Libraries

%description sqlite
This package contains the Data/SQLite component of POCO. (POCO is a set 
of C++ class libraries for network-centric applications.)

%post sqlite -p /sbin/ldconfig

%postun sqlite -p /sbin/ldconfig

%files sqlite
%defattr(-, root, root, -)
%{_libdir}/libPocoSQLite.so.*

%package          odbc
Summary:          The Data/ODBC POCO component
Group:            System Environment/Libraries

%description odbc
This package contains the Data/ODBC component of POCO. (POCO is a set 
of C++ class libraries for network-centric applications.)

%post odbc -p /sbin/ldconfig

%postun odbc -p /sbin/ldconfig

%files odbc
%defattr(-, root, root, -)
%{_libdir}/libPocoODBC.so.*

%package          mysql
Summary:          The Data/MySQL POCO component
Group:            System Environment/Libraries

%description mysql
This package contains the Data/MySQL component of POCO. (POCO is a set 
of C++ class libraries for network-centric applications.)

%post mysql -p /sbin/ldconfig

%postun mysql -p /sbin/ldconfig

%files mysql
%defattr(-, root, root, -)
%{_libdir}/libPocoMySQL.so.*

%package          zip
Summary:          The Zip POCO component
Group:            System Environment/Libraries

%description zip
This package contains the Zip component of POCO. (POCO is a set of C++ 
class libraries for network-centric applications.)

%post zip -p /sbin/ldconfig

%postun zip -p /sbin/ldconfig

%files zip
%defattr(-, root, root, -)
%{_libdir}/libPocoZip.so.*

%package          debug
Summary:          Debug builds of the POCO libraries
Group:            Development/Libraries

%description debug
This package contains the debug builds of the POCO libraries for 
application testing purposes.

%post debug -p /sbin/ldconfig

%postun debug -p /sbin/ldconfig

%files debug
%defattr(-, root, root, -)
%{_libdir}/libPocoFoundationd.so.*
%{_libdir}/libPocoXMLd.so.*
%{_libdir}/libPocoUtild.so.*
%{_libdir}/libPocoNetd.so.*
%{_libdir}/libPocoCryptod.so.*
%{_libdir}/libPocoNetSSLd.so.*
%{_libdir}/libPocoDatad.so.*
%{_libdir}/libPocoSQLited.so.*
%{_libdir}/libPocoODBCd.so.*
%{_libdir}/libPocoMySQLd.so.*
%{_libdir}/libPocoZipd.so.*

%package          devel
Summary:          Headers for developing programs that will use POCO
Group:            Development/Libraries

Requires:         poco-debug = %{version}-%{release}
Requires:         poco-foundation = %{version}-%{release}
Requires:         poco-xml = %{version}-%{release}
Requires:         poco-util = %{version}-%{release}
Requires:         poco-net = %{version}-%{release}
Requires:         poco-crypto = %{version}-%{release}
Requires:         poco-netssl = %{version}-%{release}
Requires:         poco-data = %{version}-%{release}
Requires:         poco-sqlite = %{version}-%{release}
Requires:         poco-odbc = %{version}-%{release}
Requires:         poco-mysql = %{version}-%{release}
Requires:         poco-zip = %{version}-%{release}

%description devel
The POCO C++ Libraries (POCO stands for POrtable COmponents) 
are open source C++ class libraries that simplify and accelerate the 
development of network-centric, portable applications in C++. The 
POCO C++ Libraries are built strictly on standard ANSI/ISO C++, 
including the standard library.

This package contains the header files needed for developing 
POCO applications.

%files devel
%defattr(-, root, root, -)
%doc README NEWS LICENSE CONTRIBUTORS CHANGELOG doc/*
%{_includedir}/Poco
%{_libdir}/libPocoFoundation.so
%{_libdir}/libPocoFoundationd.so
%{_libdir}/libPocoXML.so
%{_libdir}/libPocoXMLd.so
%{_libdir}/libPocoUtil.so
%{_libdir}/libPocoUtild.so
%{_libdir}/libPocoNet.so
%{_libdir}/libPocoNetd.so
%{_libdir}/libPocoCrypto.so
%{_libdir}/libPocoCryptod.so
%{_libdir}/libPocoNetSSL.so
%{_libdir}/libPocoNetSSLd.so
%{_libdir}/libPocoData.so
%{_libdir}/libPocoDatad.so
%{_libdir}/libPocoSQLite.so
%{_libdir}/libPocoSQLited.so
%{_libdir}/libPocoODBC.so
%{_libdir}/libPocoODBCd.so
%{_libdir}/libPocoMySQL.so
%{_libdir}/libPocoMySQLd.so
%{_libdir}/libPocoZip.so
%{_libdir}/libPocoZipd.so

%package          doc
Summary:          The POCO API reference documentation
Group:            Documentation

%description doc
The POCO C++ Libraries (POCO stands for POrtable COmponents) 
are open source C++ class libraries that simplify and accelerate the 
development of network-centric, portable applications in C++. The 
POCO C++ Libraries are built strictly on standard ANSI/ISO C++, 
including the standard library.

This is the complete POCO class library reference documentation in 
HTML format.

%files doc
%defattr(-, root, root, -)
%doc poco-%{version}-doc/*

%changelog
* Tue Nov 17 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-8
- The "make" invocation command in the %%build section was modified to 
skip premature symbol stripping from retail libraries.

* Mon Nov 16 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-7
- A removal of the "Foundation/src/MSG00001.bin" binary file was added 
to the "%%prep" section.
- Values for the top "Summary", "Group" and "%%description" were 
restored.
- A "BuildRoot" tag was added.

* Fri Nov 13 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-6
- The generation of the "poco" metapackage is now suppressed.
- A comment for the patch was added.
- The usage of %% symbol in the %%changelog section was fixed.

* Wed Nov 11 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-5
- A patch "poco-1.3.5-syslibs.patch" was added. The build process now 
does not use bundled versions of the system libraries (zlib, pcre, 
sqlite and expat).

* Fri Nov 06 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-4
- The name of "poco-testing" subpackage was reverted to "poco-debug".
- The "Release" field was fixed to use "%%{?dist}".
- The ".*DS_Store" files removal was moved to the %%prep section.
- Fedora compilation flags (%%{optflags}) are now injected into the 
"configure" script.

* Wed Nov 04 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-3
- Each POCO component is now put in its own binary package. The "poco" 
package is now a meta package.
- Option "-s" was removed from the "make" invocation commands.
- "perl" was replaced by "sed" for string substitutions in Makefile's.

* Tue Jun 23 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-2
- The "poco-extra" subpackage was split into separate "poco-odbc", 
"poco-mysql" and "poco-zip".
- The "poco-debug" subpackage was renamed to "poco-testing".
- The "poco-doc" subpackage with the API reference documentation 
was added.

* Sat Jun 20 2009 Maxim Udushlivy <udushlivy at mail.ru> - 1.3.5-1
- The first version.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/poco/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	27 Nov 2009 05:55:03 -0000	1.1
+++ .cvsignore	6 Apr 2010 13:31:44 -0000	1.2
@@ -0,0 +1,2 @@
+poco-1.3.5-all.tar.bz2
+poco-1.3.5-doc.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/poco/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 Nov 2009 05:55:03 -0000	1.1
+++ sources	6 Apr 2010 13:31:44 -0000	1.2
@@ -0,0 +1,2 @@
+b36fc66e39560dd985d4ae4bc8011be8  poco-1.3.5-all.tar.bz2
+357fbbb4f31921ebe7dc49a1b6b5742c  poco-1.3.5-doc.tar.gz



More information about the scm-commits mailing list