Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
ucommon
ucommon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ucommon.spec of Package ucommon
# # spec file for package ucommon # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008, 2009 David Sugar, Tycho Softworks. # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # 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: ucommon Version: 5.0.5 Release: 1 License: LGPL-3.0+ Summary: Runtime library for portable C++ threading and sockets URL: http://www.gnu.org/software/commoncpp Group: System/Libraries Source0: http://www.gnutelephony.org/dist/archive/ucommon-%{version}.tar.gz BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: graphviz-gd BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GNU uCommon C++ is a lightweight library to facilitate using C++ design patterns even for very deeply embedded applications, such as for systems using uClibc along with POSIX threading support. For this reason, uCommon disables language features that consume memory or introduce runtime overhead. uCommon introduces some design patterns from Objective-C, such as reference counted objects, memory pools, and smart pointers. uCommon introduces some new concepts for handling of thread locking and synchronization. %package bin Summary: GNU uCommon system and support applications Group: Development/Tools/Other Requires: %{name} = %{version} %package devel Summary: Headers for building ucommon applications Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: %{name}-bin = %{version} Requires: openssl-devel Requires: pkgconfig %package doc Summary: Generated class documentation for ucommon Group: Documentation %description bin This is a collection of command line tools that use various aspects of the ucommon library. Some may be needed to prepare files or for development of applications. %description devel This package provides header and support files needed for building applications that use the uCommon library and frameworks. %description doc Generated class documentation for GNU uCommon library from header files, html browsable. %prep %setup -q %build mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DSYSCONFDIR=%{_sysconfdir} \ -DMANDIR=%{_mandir} \ %if "%{_lib}" == "lib64" -DLIB_SUFFIX=64 \ %endif -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \ .. make %{?_smp_mflags} %install cd build %make_install chmod 0755 %{buildroot}%{_bindir}/ucommon-config chmod 0755 %{buildroot}%{_bindir}/commoncpp-config rm -rf %{buildroot}%{_libdir}/*.la %files %defattr(-,root,root,-) %doc AUTHORS README COPYING COPYING.LESSER COPYRIGHT NEWS SUPPORT ChangeLog %{_libdir}/libucommon.so.* %{_libdir}/libusecure.so.* %{_libdir}/libcommoncpp.so.* %files bin %defattr(-,root,root,-) %{_bindir}/args %{_bindir}/car %{_bindir}/scrub-files %{_bindir}/mdsum %{_bindir}/sockaddr %{_bindir}/zerofill %{_mandir}/man1/args.* %{_mandir}/man1/scrub-files.* %{_mandir}/man1/mdsum.* %{_mandir}/man1/zerofill.* %{_mandir}/man1/sockaddr.* %{_mandir}/man1/car.* %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_includedir}/ucommon/ %{_includedir}/commoncpp/ %{_libdir}/pkgconfig/*.pc %{_bindir}/ucommon-config %{_bindir}/commoncpp-config %{_mandir}/man1/ucommon-config.* %{_mandir}/man1/commoncpp-config.* # %%files doc # %%defattr(-,root,root,-) # %%doc doc/html/* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %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