[svn] r5398 - in trunk/rpms: . cinelerra commoncpp2 fuse-clamfs fuse-cryptofs fuse-svnfs openexr pcopy pinentry poco

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat May 12 21:48:21 CEST 2007


Author: dag
Date: 2007-05-12 21:48:19 +0200 (Sat, 12 May 2007)
New Revision: 5398

Added:
   trunk/rpms/commoncpp2/
   trunk/rpms/commoncpp2/commoncpp2.spec
   trunk/rpms/fuse-cryptofs/
   trunk/rpms/fuse-cryptofs/fuse-cryptofs.spec
   trunk/rpms/fuse-svnfs/
   trunk/rpms/fuse-svnfs/fuse-svnfs.spec
   trunk/rpms/pcopy/
   trunk/rpms/pcopy/pcopy.spec
   trunk/rpms/poco/
   trunk/rpms/poco/poco.spec
Modified:
   trunk/rpms/cinelerra/cinelerra.spec
   trunk/rpms/fuse-clamfs/fuse-clamfs.spec
   trunk/rpms/openexr/openexr.spec
   trunk/rpms/pinentry/pinentry.spec
Log:
Updates

Modified: trunk/rpms/cinelerra/cinelerra.spec
===================================================================
--- trunk/rpms/cinelerra/cinelerra.spec	2007-05-12 10:48:19 UTC (rev 5397)
+++ trunk/rpms/cinelerra/cinelerra.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -39,7 +39,7 @@
 BuildRequires: a52dec-devel
 BuildRequires: lame-devel
 BuildRequires: libsndfile-devel
-BuildRequires: OpenEXR-devel
+BuildRequires: openexr-devel
 BuildRequires: faad2-devel
 BuildRequires: libraw1394-devel >= 1.2.0
 BuildRequires: libiec61883-devel

Added: trunk/rpms/commoncpp2/commoncpp2.spec
===================================================================
--- trunk/rpms/commoncpp2/commoncpp2.spec	                        (rev 0)
+++ trunk/rpms/commoncpp2/commoncpp2.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -0,0 +1,91 @@
+# $Id$
+# Authority: dag
+
+Summary: GNU Common C++ class framework
+Name: commoncpp2
+Version: 1.5.5
+Release: 1
+License: GPL
+Group: System Environment/Libraries
+URL: http://www.gnu.org/software/commoncpp/
+
+Source: http://ftp.gnu.org/pub/gnu/commoncpp/commoncpp2-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: libxml2-devel, zlib-devel, doxygen
+
+%description
+GNU Common C++ is a portable and highly optimized class framework for writing
+C++ applications that need to use threads, sockets, XML parsing, serialization,
+config files, etc.
+
+This framework offers a class foundation that hides platform differences from
+your C++ application so that you need not write platform specific code. GNU
+Common C++ has been ported to compile natively on most platforms which support
+posix threads.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig, libxml2-devel, zlib-devel
+Requires: /sbin/install-info
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup
+
+%build
+%configure \
+	--disable-static \
+	--disable-dependency-tracking
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+### Clean up buildroot
+%{__rm} -f %{buildroot}%{_infodir}/dir
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post devel
+/sbin/install-info %{_infodir}/commoncpp2.info %{_infodir}/dir || :
+
+%preun devel
+if [ $1 -eq 0 ]; then
+	/sbin/install-info --delete %{_infodir}/commoncpp2.info %{_infodir}/dir || :
+fi
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README THANKS TODO
+%{_libdir}/libccext2-1.5.so.*
+%{_libdir}/libccgnu2-1.5.so.*
+
+%files devel
+%defattr(-, root, root, 0755)
+%doc doc/html/
+%doc %{_infodir}/commoncpp2.info*
+%{_bindir}/ccgnu2-config
+%{_datadir}/aclocal/ost_check2.m4
+%{_includedir}/cc++/
+%exclude %{_libdir}/libccext2.la
+%{_libdir}/libccext2.so
+%exclude %{_libdir}/libccgnu2.la
+%{_libdir}/libccgnu2.so
+%{_libdir}/pkgconfig/libccext2.pc
+%{_libdir}/pkgconfig/libccgnu2.pc
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.5.5-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/commoncpp2/commoncpp2.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/fuse-clamfs/fuse-clamfs.spec
===================================================================
--- trunk/rpms/fuse-clamfs/fuse-clamfs.spec	2007-05-12 10:48:19 UTC (rev 5397)
+++ trunk/rpms/fuse-clamfs/fuse-clamfs.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -14,7 +14,7 @@
 Source: http://dl.sf.net/clamfs/clamfs-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-BuildRequires: fuse-devel >= 2.2, rlog-devel, poco-devel
+BuildRequires: fuse-devel >= 2.2, rlog-devel, poco-devel, commoncpp2-devel
 Requires: fuse >= 2.2
 
 Obsoletes: clamfs <= %{name}-%{version}
@@ -35,29 +35,15 @@
 %install
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR="%{buildroot}"
-%find_lang %{real_name}
 
-### Clean up buildroot
-%{__rm} -rf %{buildroot}%{_docdir}
-
 %clean
 %{__rm} -rf %{buildroot}
 
-%files -f %{real_name}.lang
+%files
 %defattr(-, root, root, 0755)
-#%doc AUTHORS BUGS COPYING FAQ INSTALL NEWS README* THANKS TODO etc/davfs2.conf etc/secrets
-#%doc %{_mandir}/man5/davfs2.conf.5*
-#%doc %{_mandir}/man8/mount.davfs.8*
-#%doc %{_mandir}/man8/umount.davfs.8*
-#%doc %{_mandir}/*/man5/davfs2.conf.5*
-#%doc %{_mandir}/*/man8/mount.davfs.8*
-#%doc %{_mandir}/*/man8/umount.davfs.8*
-#%config(noreplace) %{_sysconfdir}/davfs2/davfs2.conf
-#%config %{_sysconfdir}/davfs2/secrets
-#%config %{_sysconfdir}/davfs2/certs/
-#/sbin/mount.davfs
-#/sbin/umount.davfs
-#%{_datadir}/davfs2/
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO doc/clamfs.xml
+%doc %{_mandir}/man1/clamfs.1*
+%{_bindir}/clamfs
 
 %changelog
 * Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.9.1-1

Added: trunk/rpms/fuse-cryptofs/fuse-cryptofs.spec
===================================================================
--- trunk/rpms/fuse-cryptofs/fuse-cryptofs.spec	                        (rev 0)
+++ trunk/rpms/fuse-cryptofs/fuse-cryptofs.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -0,0 +1,58 @@
+# $Id$
+# Authority: dag
+
+%define real_name cryptofs
+
+Summary: FUSE-based user-space encrypted filesystem
+Name: fuse-cryptofs
+Version: 0.6.0
+Release: 1
+License: GPL
+Group: System Environment/Kernel
+URL: http://reboot.animeirc.de/cryptofs/
+
+Source: http://reboot.animeirc.de/cryptofs/cryptofs-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: fuse-devel >= 2.2, libgcrypt-devel, pinentry, glib2-devel >= 2.6
+Requires: fuse >= 2.2
+
+Obsoletes: cryptofs <= %{name}-%{version}
+Provides: cryptofs = %{name}-%{version}
+
+%description
+CryptoFS will use a normal directory to store files encrypted. The mountpoint
+will contain the decrypted files. Every file stored in this mountpoint will be
+written encrypted (data and filename) to the directory that was mounted. If you
+unmount the directory the encrypted data can only be access by mounting the
+directory with the correct key again. Like other FUSE/LUFS filesystems it does
+not need root access or any complicated setup like creating a filesystem on a
+encrypted disk using the loop device.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%configure \
+	--disable-static \
+	--disable-lufs
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README cryptofs.conf
+%{_bindir}/cryptofs
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.6.0-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/fuse-cryptofs/fuse-cryptofs.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/fuse-svnfs/fuse-svnfs.spec
===================================================================
--- trunk/rpms/fuse-svnfs/fuse-svnfs.spec	                        (rev 0)
+++ trunk/rpms/fuse-svnfs/fuse-svnfs.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -0,0 +1,51 @@
+# $Id$
+# Authority: dag
+# Upstream: John madden <john+svnfs at jmadden,eu>
+
+%define real_name svnfs
+
+Summary: FUSE-based user-space file system for accessing subversion repositories
+Name: fuse-svnfs
+Version: 0.2
+Release: 1
+License: GPL
+Group: System Environment/Kernel
+URL: http://www.jmadden.eu/index.php/svnfs/
+
+Source: http://www.jmadden.eu/wp-content/uploads/svnfs/svnfs-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: fuse-devel >= 2.2
+Requires: fuse >= 2.2
+
+Obsoletes: svnfs <= %{name}-%{version}
+Provides: svnfs = %{name}-%{version}
+
+%description
+svnfs is a FUSE-based user-space file system for accessing subversion
+repositories.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%configure \
+	--disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+#%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO doc/clamfs.xml
+#%doc %{_mandir}/man1/clamfs.1*
+#%{_bindir}/clamfs
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.2-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/fuse-svnfs/fuse-svnfs.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/openexr/openexr.spec
===================================================================
--- trunk/rpms/openexr/openexr.spec	2007-05-12 10:48:19 UTC (rev 5397)
+++ trunk/rpms/openexr/openexr.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -17,11 +17,12 @@
 
 Summary: High dynamic range image file format
 Name: openexr
-Version: 1.3.0
+%define real_version 1.4.0
+Version: 1.4.0a
 Release: 1
 License: BSD
 Group: Development/Libraries
-URL: http://www.openexr.com
+URL: http://www.openexr.com/
 
 Source: http://savannah.nongnu.org/download/openexr/openexr-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -29,6 +30,8 @@
 BuildRequires: gcc-c++, fltk-devel
 %{?_without_modxorg:BuildRequires: XFree86-devel}
 %{!?_without_modxorg:BuildRequires: libXext-devel}
+Obsoletes: OpenEXR <= %{version}-%{release}
+Provides: OpenEXR = %{version}-%{release}
 
 %description
 OpenEXR is a high dynamic range (HDR) image file format developed by
@@ -41,6 +44,8 @@
 Summary: Header files, libraries and development documentation for %{name}.
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
+Obsoletes: OpenEXR-devel <= %{version}-%{release}
+Provides: OpenEXR-devel = %{version}-%{release}
 
 %description devel
 This package contains the header files, static libraries and development
@@ -48,24 +53,23 @@
 you will need to install %{name}-devel.
 
 %prep
-%setup
-perl -pi -e 's|include .map.|include <map>\nclass Image;|g;' exrmaketiled/Image.h
+%setup -n %{name}-%{real_version}
+%{__perl} -pi.orig -e 's|include .map.|include <map>\nclass Image;|g;' exrmaketiled/Image.h
 
 %build
 %configure \
-	--program-prefix="%{?_program_prefix}"
+	--program-prefix="%{?_program_prefix}" \
+	--disable-static
 %{__make} %{?_smp_mflags}
 
 %install
 %{__rm} -rf %{buildroot}
-%makeinstall
-%{__mv} %{buildroot}%{_datadir}/doc/OpenEXR-* rpmdocs
+%{__make} install DESTDIR="%{buildroot}"
 
-%post
-/sbin/ldconfig 2>/dev/null
+%{__mv} %{buildroot}%{_datadir}/doc/OpenEXR-* rpm-doc/
 
-%postun
-/sbin/ldconfig 2>/dev/null
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -81,30 +85,28 @@
 %{_bindir}/exrdisplay
 %{_libdir}/libHalf.so.*
 %{_libdir}/libIex.so.*
-%{_libdir}/libImath.so.*
 %{_libdir}/libIlmImf.so.*
 %{_libdir}/libIlmThread.so.*
+%{_libdir}/libImath.so.*
 
 %files devel
-%doc rpmdocs/*
-%{_includedir}/OpenEXR
-%{_libdir}/libHalf.a
-%{_libdir}/libIex.a
-%{_libdir}/libImath.a
-%{_libdir}/libIlmImf.a
-%{_libdir}/libIlmThread.a
-%{_libdir}/*.so
+%doc rpm-doc/*
+%{_datadir}/aclocal/openexr.m4
+%{_includedir}/OpenEXR/
+%{_libdir}/libHalf.so
+%{_libdir}/libIex.so
+%{_libdir}/libIlmImf.so
+%{_libdir}/libIlmThread.so
+%{_libdir}/libImath.so
 %{_libdir}/pkgconfig/OpenEXR.pc
-%{_datadir}/aclocal/openexr.m4
 %exclude %{_libdir}/*.la
 
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.4.0a-1
+- Updated to release 1.4.0a.
 
-%changelog
 * Sat Aug 12 2006 Dries Verachtert <dries at ulyssis.org> - 1.3.0-1
 - Updated to release 1.3.0.
 
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 1.2.2-1.2
-- Rebuild for Fedora Core 5.
-
 * Tue Nov 15 2005 Dries Verachtert <dries at ulyssis.org> - 1.2.2-1
 - Initial package.

Added: trunk/rpms/pcopy/pcopy.spec
===================================================================
--- trunk/rpms/pcopy/pcopy.spec	                        (rev 0)
+++ trunk/rpms/pcopy/pcopy.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -0,0 +1,43 @@
+# $Id$
+# Authority: dag
+# Upstream: Peter Eriksson
+
+Summary: Peter's disk-to-disk copying tool
+Name: pcopy
+Version: 1.5
+Release: 1
+License: GPL
+Group: Applications/System
+URL: http://www.lysator.liu.se/~pen/pcopy/
+
+Source: ftp://ftp.lysator.liu.se/pub/unix/pcopy/pcopy-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+Pcopy is a small program for doing disk-to-disk copies as fast as possible,
+that can handle bad sectors in a graceful way, and that also displays
+a progress counter while doing the copying.
+
+%prep
+%setup
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+#{__make} install DESTDIR="%{buildroot}"
+%{__install} -Dp -m0755 pcopy %{buildroot}%{_bindir}/pcopy
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc ChangeLog COPYING INSTALL README
+%{_bindir}/pcopy
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.5-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/pcopy/pcopy.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/pinentry/pinentry.spec
===================================================================
--- trunk/rpms/pinentry/pinentry.spec	2007-05-12 10:48:19 UTC (rev 5397)
+++ trunk/rpms/pinentry/pinentry.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -2,22 +2,44 @@
 # Authority: dag
 # Upstream: <gnupg-devel$gnupg,org>
 
+%{?dist: %{expand: %%define %dist 1}}
+
+%{?el3:%define _without_gtk24 1}
+%{?el3:%define _without_qt33 1}
+%{?rh9:%define _without_gtk24 1}
+%{?rh9:%define _without_qt33 1}
+%{?rh7:%define _without_gtk24 1}
+%{?rh7:%define _without_qt33 1}
+%{?el2:%define _without_gtk24 1}
+%{?el2:%define _without_qt33 1}
+
 Summary: PIN or passphrase entry dialog
 Name: pinentry
-Version: 0.6.8
-Release: 1.2
+Version: 0.7.2
+Release: 1
 License: GPL
 Group: Applications/System
 URL: http://www.gnupg.org/aegypten/
 
-Source: ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/pinentry-%{version}.tar.gz
-Patch: %{name}-info.patch
+Source: http://ftp.gnupg.org/gcrypt/pinentry/pinentry-%{version}.tar.gz
+Patch: pinentry-0.7.2-info.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-BuildRequires: glib-devel >= 1:1.2.0, gtk+-devel >= 1:1.2.0, qt-devel
-BuildRequires: ncurses-devel, gcc-c++
+BuildRequires: glib-devel >= 1.2, gtk+-devel >= 1.2
+%{!?_without_gtk24:BuildRequires: gtk2-devel >= 2.4}
+%{!?_without_qt33:BuildRequires: qt-devel >= 3.3}
+BuildRequires: ncurses-devel
 Requires: chkconfig, info
 
+Provides: pinentry-curses = %{version}-%{release}
+Obsoletes: pinentry-curses <= %{version}-%{release}
+Provides: pinentry-gtk = %{version}-%{release}
+Obsoletes: pinentry-gtk <= %{version}-%{release}
+Provides: pinentry-gui = %{version}-%{release}
+Obsoletes: pinentry-gui <= %{version}-%{release}
+%{!?_without_qt33:Provides: pinentry-qt = %{version}-%{release}}
+%{!?_without_qt33:Obsoletes: pinentry-qt <= %{version}-%{release}}
+
 %description
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the aegypten project; see
@@ -25,15 +47,19 @@
 
 %prep
 %setup
-%patch0 -p0
+%patch0 -p1
 
 %build
-%configure
+source "/etc/profile.d/qt.sh"
+%configure \
+%{?_without_gtk24:--disable-pinentry-gtk2} \
+%{?_without_qt33:--disable-pinentry-qt}
 %{__make} %{?_smp_mflags}
 
 %install
 %{__rm} -rf %{buildroot}
-%makeinstall
+source "/etc/profile.d/qt.sh"
+%{__make} install DESTDIR="%{buildroot}"
 
 touch %{buildroot}%{_bindir}/pinentry
 
@@ -44,14 +70,16 @@
 install-info %{_infodir}/pinentry.info.gz %{_infodir}/dir
 update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-curses 10
 update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk 40
-update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 30
+%{!?_without_gtk24:update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk-2 50}
+%{!?_without_qt33:update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 30}
 
 %postun
 if [ $1 -eq 0 ]; then
 	install-info --delete %{_infodir}/pinentry.info.gz %{_infodir}/dir
 	update-alternatives --remove pinentry %{_bindir}/pinentry-curses
 	update-alternatives --remove pinentry %{_bindir}/pinentry-gtk
-	update-alternatives --remove pinentry %{_bindir}/pinentry-qt
+%{!?_without_gtk24:update-alternatives --remove pinentry %{_bindir}/pinentry-gtk-2}
+%{!?_without_qt33:update-alternatives --remove pinentry %{_bindir}/pinentry-qt}
 fi
 
 %clean
@@ -61,12 +89,15 @@
 %defattr(-, root, root, 0755)
 %doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
 %doc %{_infodir}/*.info*
-%{_bindir}/pinentry-*
+%{_bindir}/pinentry-curses
+%{_bindir}/pinentry-gtk
+%{!?_without_gtk24:%{_bindir}/pinentry-gtk-2}
+%{!?_without_qt33:%{_bindir}/pinentry-qt}
 %ghost %{_bindir}/pinentry
 
 %changelog
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 0.6.8-1.2
-- Rebuild for Fedora Core 5.
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.7.2-1
+- Updated to release 0.7.2.
 
 * Tue Apr 06 2004 Dag Wieers <dag at wieers.com> - 0.6.8-1
 - Initial package. (using DAR)

Added: trunk/rpms/poco/poco.spec
===================================================================
--- trunk/rpms/poco/poco.spec	                        (rev 0)
+++ trunk/rpms/poco/poco.spec	2007-05-12 19:48:19 UTC (rev 5398)
@@ -0,0 +1,91 @@
+# $Id$
+# Authority: dag
+
+Summary: Next generation C++ class libraries for network-centric applications
+Name: poco
+Version: 1.3.0
+Release: 1
+License: LGPL
+Group: Development/Libraries
+URL: http://www.appinf.com/poco/
+
+Source: http://dl.sf.net/poco/poco-%{version}-ssl.tar.bz2
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: openssl-devel
+
+%description
+POCO, the C++ Portable Components, is a collection of open source C++ class
+libraries that simplify and accelerate the development of network-centric,
+portable applications in C++. The libraries integrate perfectly with the
+C++ Standard Library and fill many of the functional gaps left open by it.
+
+Their modular and efficient design and implementation makes the C++ Portable
+Components extremely well suited for embedded development, an area where the
+C++ programming language is becoming increasingly popular, due to its
+suitability for both low-level (device I/O, interrupt handlers, etc.) and
+high-level object-oriented development. Of course, POCO is also ready for
+enterprise-level challenges.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup -n %{name}-%{version}-ssl
+
+%{__perl} -pi.orig -e 's|\$\(INSTALLDIR\)/lib\b|\$\(INSTALLDIR\)/%{_lib}|g' Makefile
+
+%build
+%configure
+%{__make} %{?_smp_mflags} \
+	CXXFLAGS="%{optflags} $(pkg-config --cflags openssl)"
+	LINKFLAGS="$LDFLAGS $(pkg-config --libs-only-L openssl)"
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc CHANGELOG CONTRIBUTORS LICENSE MANIFEST NEWS README doc/*.html
+%{_libdir}/libPocoFoundation.so.*
+%{_libdir}/libPocoFoundationd.so.*
+%{_libdir}/libPocoNet.so.*
+%{_libdir}/libPocoNetSSL.so.*
+%{_libdir}/libPocoNetSSLd.so.*
+%{_libdir}/libPocoNetd.so.*
+%{_libdir}/libPocoUtil.so.*
+%{_libdir}/libPocoUtild.so.*
+%{_libdir}/libPocoXML.so.*
+%{_libdir}/libPocoXMLd.so.*
+
+%files devel
+%defattr(-, root, root, 0755)
+%{_includedir}/Poco/
+%{_libdir}/libPocoFoundation.so
+%{_libdir}/libPocoFoundationd.so
+%{_libdir}/libPocoNet.so
+%{_libdir}/libPocoNetSSL.so
+%{_libdir}/libPocoNetSSLd.so
+%{_libdir}/libPocoNetd.so
+%{_libdir}/libPocoUtil.so
+%{_libdir}/libPocoUtild.so
+%{_libdir}/libPocoXML.so
+%{_libdir}/libPocoXMLd.so
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.3.7-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/poco/poco.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native




More information about the commits mailing list