Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
commoncpp2
commoncpp2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File commoncpp2.spec of Package commoncpp2
# # spec file for package commoncpp2 # # Copyright (c) 2013 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/ # Name: commoncpp2 %define lname libcommoncpp2-1_8-0 Summary: A GNU lirbary package for creating portable C++ programs License: GPL-2.0+ Group: Development/Libraries/C and C++ Version: 1.8.1 Release: 0 Url: http://www.gnu.org/software/commoncpp/ Source: %{name}-%{version}.tar.gz Patch: commoncpp2-overflow.patch Patch1: commoncpp2-applog.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkg-config BuildRequires: zlib-devel Provides: CommonC++ Provides: commonc++ Obsoletes: CommonC++ Obsoletes: commonc++ %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 -n %lname Summary: A GNU library package for creating portable C++ programs Group: System/Libraries # Added for 13.1 Obsoletes: commoncpp2 < %version-%release Provides: commoncpp2 = %version-%release %description -n %lname 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. %package devel Requires: %lname = %version Requires: libstdc++-devel Requires: zlib-devel Provides: CommonC++-devel = %{version} Provides: commonc++-devel < %{version} Obsoletes: CommonC++-devel = %{version} Obsoletes: commonc++-devel < %{version} 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 Requires: %{name} = %{version} Summary: A GNU package for creating portable C++ program Group: Development/Libraries/C and C++ Provides: CommonC++-doc = %{version} Obsoletes: CommonC++-doc < %{version} %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 %patch1 %build autoreconf --install --force -v %configure --enable-shared --disable-static --with-pic # Practice has shown it does not always fly. make -j1 %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 %fdupes %buildroot/%_prefix %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root,0755) %{_libdir}/libcc*-1.8.so.0* %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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor