Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
desktop
>
commoncpp2
> commoncpp2.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File commoncpp2.spec of Package commoncpp2
# # spec file for package commoncpp2 (Version 1.6.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: commoncpp2 BuildRequires: doxygen gcc-c++ pkg-config zlib-devel License: GPLv2+ Group: Development/Libraries/C and C++ Provides: commonc++ CommonC++ Obsoletes: commonc++ CommonC++ AutoReqProv: on Summary: A GNU package for creating portable C++ program Version: 1.6.1 Release: 61 Url: http://www.gnu.org/software/commoncpp/ Source: %{name}-%{version}.tar.bz2 Patch: commoncpp-socketmemcpy.dif Patch1: commoncpp-libtool.diff Patch2: commoncpp-charptr.diff Patch3: commoncpp-stdlib.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Common C++ is a GNU package which offers portable "abstraction" of system services such as threads, networks, and sockets. Common C++ also offers individual frameworks generally useful to developing portable C++ applications including a object persistance engine, math libraries, threading, sockets, etc. Common C++ is small, and highly portable. Common C++ will support most Unix operating systems as well as Win32, in addition to GNU/Linux. Authors: -------- David Sugar <dyfet@ostel.com> %package devel License: GPLv2+ Requires: %{name} = %{version} zlib-devel libstdc++-devel Provides: commonc++-devel CommonC++-devel Obsoletes: commonc++-devel CommonC++-devel Summary: Files for developing CommonC++ applications Group: Development/Libraries/C and C++ %description devel This package contains include files, static libraries and some documentation for the CommonC++ package. It is needed for developing and compiling CommonC++ applications. Authors: -------- David Sugar <dyfet@ostel.com> %package doc License: GPLv2+ Requires: %{name} = %{version} Summary: A GNU package for creating portable C++ program Provides: CommonC++-doc Obsoletes: CommonC++-doc AutoReqProv: on Group: Development/Libraries/C and C++ %description doc Common C++ is a GNU package which offers portable "abstraction" of system services such as threads, networks, and sockets. Common C++ also offers individual frameworks generally useful to developing portable C++ applications including a object persistance engine, math libraries, threading, sockets, etc. Common C++ is small, and highly portable. Common C++ will support most Unix operating systems as well as Win32, in addition to GNU/Linux. Authors: -------- David Sugar <dyfet@ostel.com> %prep %setup -q %patch -p1 %patch1 %patch2 %patch -P 3 -p1 %build autoreconf --install --force -v %configure --enable-shared --disable-static --with-pic #make %{?jobs:-j %jobs} make %install mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3 make DESTDIR=$RPM_BUILD_ROOT install install -d $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/html install -m 644 doc/html/* $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/html/ install -m 644 AUTHORS COPYING COPYING.addendum NEWS README TODO ChangeLog $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/ rm -f $RPM_BUILD_ROOT/usr/share/info/commoncpp2.info* rm -f %{buildroot}%{_libdir}/libcc*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,0755) %{_libdir}/libcc*-*.so.* %files devel %defattr(-,root,root,0755) %{_includedir}/cc++ %{_datadir}/aclocal/ost_check2.m4 %{_libdir}/libcc*.so %{_bindir}/ccgnu2-config %{_libdir}/pkgconfig/*.pc %files doc %defattr(-,root,root,0755) %doc %{_defaultdocdir}/%{name}/ %changelog