198 lines
6.7 KiB
RPMSpec
198 lines
6.7 KiB
RPMSpec
# 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.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
Name: ucommon
|
|
Summary: Portable C++ framework for threads and sockets
|
|
Version: 4.0.2
|
|
Release: 0%{?dist}
|
|
License: LGPLv3+
|
|
URL: http://www.gnu.org/software/commoncpp
|
|
Source0: http://www.gnutelephony.org/dist/tarballs/ucommon-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: doxygen graphviz-gd openssl-devel
|
|
Group: System Environment/Libraries
|
|
Summary: Runtime library for portable C++ threading and sockets
|
|
|
|
%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
|
|
Requires: %{name} = %{version}-%{release}
|
|
Group: Applications/System
|
|
Summary: ucommon system and support applications
|
|
|
|
%package devel
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name}-bin = %{version}-%{release}
|
|
Requires: openssl-devel
|
|
Requires: pkgconfig
|
|
Group: Development/Libraries
|
|
Summary: Headers for building uCommon applications
|
|
|
|
%package doc
|
|
Group: Documentation
|
|
Summary: Generated class documentation for uCommon
|
|
|
|
%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.
|
|
|
|
%description doc
|
|
Generated class documentation for GNU uCommon library from header files,
|
|
html browsable.
|
|
|
|
%prep
|
|
%setup -q
|
|
%build
|
|
|
|
%configure --disable-static
|
|
%{__make} %{?_smp_mflags}
|
|
%{__rm} -rf doc/html
|
|
%{__make} doxy
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
%{__make} DESTDIR=%{buildroot} INSTALL="install -p" install
|
|
%{__chmod} 0755 %{buildroot}%{_bindir}/ucommon-config
|
|
%{__rm} %{buildroot}%{_libdir}/*.la
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS README COPYING COPYING.LESSER NEWS SUPPORT ChangeLog
|
|
%{_libdir}/libucommon.so.*
|
|
%{_libdir}/libusecure.so.*
|
|
|
|
%files bin
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/args
|
|
%{_bindir}/mdsum
|
|
%{_bindir}/zerofile
|
|
%{_bindir}/scrub
|
|
%{_mandir}/man1/args.*
|
|
%{_mandir}/man1/mdsum.*
|
|
%{_mandir}/man1/scrub.*
|
|
%{_mandir}/man1/zerofill.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/*.so
|
|
%{_includedir}/ucommon/
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_bindir}/ucommon-config
|
|
%{_mandir}/man1/ucommon-config.*
|
|
|
|
%files doc
|
|
%defattr(-,root,root,-)
|
|
%doc doc/html/*
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%changelog
|
|
* Fri Oct 01 2010 - David Sugar <dyfet@gnutelephony.org> - 4.0.2-0
|
|
- new utilities bundled with ucommon library
|
|
|
|
* Sun Sep 26 2010 - David Sugar <dyfet@gnutelephony.org> - 4.0.0-0
|
|
- new abi release.
|
|
|
|
* Sat Sep 18 2010 - David Sugar <dyfet@gnutelephony.org> - 3.4.0-0
|
|
- simplified packaging and better runtime focus.
|
|
- ccscript moved to bayonne, ccaudio detached.
|
|
|
|
* Tue Aug 10 2010 - David Sugar <dyfet@gnutelephony.org> - 3.3.4-0
|
|
- major breakage in shell::getsym found and fixed.
|
|
|
|
* Sun Aug 08 2010 - David Sugar <dyfet@gnutelephony.org> - 3.3.3-0
|
|
- daemon detach and restart support.
|
|
- completion of string to numeric conversions.
|
|
|
|
* Thu Aug 05 2010 - David Sugar <dyfet@gnutelephony.org> - 3.3.1-0
|
|
- system logging integrated into shell api.
|
|
- string initialization and expression fixes.
|
|
|
|
* Sun Aug 01 2010 - David Sugar <dyfet@gnutelephony.org> - 3.3.0-0
|
|
- internationalization bindings with gnu gettext support.
|
|
- reorganized utils into ucommon-bin subpackage.
|
|
|
|
* Sun Jul 11 2010 - David Sugar <dyfet@gnutelephony.org> - 3.2.1-0
|
|
- uuid generation support and further shell parsing features.
|
|
|
|
* Sat Jul 03 2010 - David Sugar <dyfet@gnutelephony.org> - 3.2.0-0
|
|
- extensive fixing in shell class and introduction of piping.
|
|
|
|
* Sat Jun 26 2010 - David Sugar <dyfet@gnutelephony.org> - 3.1.2-0
|
|
- fixed clearing of key data when secure objects are released.
|
|
- fixed and updated shell parsing class.
|
|
- extended secure api so we can also use gnutls, maybe later nss.
|
|
|
|
* Tue Jun 22 2010 - David Sugar <dyfet@gnutelephony.org> - 3.1.0-0
|
|
- new ucommon crytographic library added.
|
|
|
|
* Sun Jun 20 2010 - David Sugar <dyfet@gnutelephony.org> - 3.0.6-0
|
|
- some further abi extension of the socket class.
|
|
|
|
* Mon Jun 14 2010 - David Sugar <dyfet@gnutelephony.org> - 3.0.5-0
|
|
- some abi conflict issues with libc macros on some targets.
|
|
|
|
* Fri Jun 11 2010 - David Sugar <dyfet@gnutelephony.org> - 3.0.4-0
|
|
- further revision on the tcp buffering api.
|
|
|
|
* Fri Jun 11 2010 - David Sugar <dyfet@gnutelephony.org> - 3.0.3-2
|
|
- critical fix for reusable objects
|
|
- new core full duplex buffered io class, tcp and file buffering
|
|
- standardized hostname and service address resolver operations
|
|
- atomic operations introduced
|
|
|
|
* Sun Jun 06 2010 - David Sugar <dyfet@gnutelephony.org> - 3.0.1-0
|
|
- threaded queue management and reuse templates and related bugs fixed.
|
|
|
|
* Fri Jun 04 2010 - David Sugar <dyfet@gnutelephony.org> - 3.0.0-0
|
|
- merged ccscript and ccaudio with ucommon to create single framework.
|
|
|
|
* Tue May 18 2010 - David Sugar <dyfet@gnutelephony.org> - 2.1.4-0
|
|
- object containers, unicode support, and datetime api enhanced.
|
|
|
|
* Sun May 02 2010 - David Sugar <dyfet@gnutelephony.org> - 2.1.3-0
|
|
- critical fix for ieq string function.
|
|
- new unicode string class and api introduced.
|
|
|
|
* Sun Apr 25 2010 - David Sugar <dyfet@gnutelephony.org> - 2.1.2-0
|
|
- improved portability and api changes for datetime.
|
|
|
|
* Sun Apr 11 2010 - David Sugar <dyfet@gnutelephony.org> - 2.1.1-0
|
|
- new abi release
|
|
|
|
* Fri Dec 18 2009 - David Sugar <dyfet@gnutelephony.org> - 2.0.7-1
|
|
- fixed install script handling upstream and fixed pedantic gcc 4.4 issues.
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Tue May 05 2009 - David Sugar <dyfet@gnutelephony.org> - 2.0.5-4
|
|
- removed static libraries, fixed other build issues (#498736)
|
|
|
|
* Sun May 03 2009 - David Sugar <dyfet@gnutelephony.org> - 2.0.5-3
|
|
- spec file further revised for redhat/fedora (#498736)
|
|
|