File ccscript3.spec of Package ccscript3
#
# spec file for package ccscript3 (Version 1.0.9)
#
# Copyright (c) 2009 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: ccscript3
BuildRequires: commoncpp2-devel gcc-c++ pkgconfig unixODBC-devel
Url: http://www.gnu.org/software/ccscript/
License: GPL v2 or later
Group: Productivity/Multimedia/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: ccscript
Obsoletes: ccscript
Summary: a GNU Common C++ framework for embedded scripting
Version: 1.0.9
Release: 139
Source: %{name}-%{version}.tar.bz2
Patch1: unixODBC.diff
Patch2: ccscript3-gcc43.diff
Patch3: ccscript3-libtool.diff
%description
The GNU ccScript package offers a class extensible threaded embedded
scripting engine for use with GNU Common C++. This engine is also used
in GNU Bayonne (the GNU telephony application server package) and other
parts of GNUCOMM (the GNU telephony meta-project). This engine differs
from traditional scripting systems in that it is used to script near
real-time state-event systems through deterministic callback step
execution rather than the linear and non-deterministic fashion of
embedded script systems such as tcl, libguile, etc.
%package devel
License: GPL v2 or later
Summary: Header files and documentation for ccscript
Group: Productivity/Multimedia/Other
Requires: %{name} = %{version} commoncpp2-devel
Provides: ccscript-devel
Obsoletes: ccscript-devel
%description -n ccscript3-devel
This package contains header files and documentation needed when
developing applications with ccscript.
Authors:
--------
David Sugar <dyfet@ostel.com>
%prep
%setup -q -n %{name}-%{version}
%patch1
%patch2 -p1
%patch3
%build
#autoreconf --force --install
./reconfig
CFLAGS="$RPM_OPT_FLAGS"
%configure \
--with-pic \
--disable-static
make CPPFLAGS="$RPM_OPT_FLAGS"
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/libccscript*.la
cat %{buildroot}%{_libdir}/pkgconfig/libccscript3.pc
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,0755)
%{_libdir}/libccscript*.so.*
%dir %{_libdir}/%{name}-1.0
%{_libdir}/%{name}-1.0/*
%files devel
%defattr(-,root,root,0755)
%doc AUTHORS COPYING NEWS README ChangeLog
%{_libdir}/libccscript*.so
%{_libdir}/pkgconfig/libccscript3.pc
%{_includedir}/cc++/script3.h
%changelog
* Tue May 13 2008 crrodriguez@suse.de
- remove static libraries
* Mon Apr 14 2008 schwab@suse.de
- Work around misuse of libtool.
* Sat Jan 12 2008 meissner@suse.de
- Fixed buffer overflow in fixed strcpy() of PI.
* Thu Oct 11 2007 kkeil@suse.de
- fixes for GCC 4.3
* Tue Jul 18 2006 kkaempf@suse.de
- update to 1.0.9
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 26 2005 kkaempf@suse.de
- New package name and version
- Take over from ccscript-3.0.1.0