diff --git a/.cvsignore b/.cvsignore index e69de29..aa47ea1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libsigc++-2.0.3.tar.gz diff --git a/libsigc++.spec b/libsigc++.spec new file mode 100644 index 0000000..2b5a99e --- /dev/null +++ b/libsigc++.spec @@ -0,0 +1,142 @@ +Name: libsigc++20 +Version: 2.0.3 +Release: 0.fdr.1.2 +Epoch: 0 +Summary: The Typesafe Signal Framework for C++ + +Group: System Environment/Libraries +License: LGPL +URL: http://libsigc.sourceforge.net/ +Source0: http://dl.sourceforge.net/libsigc/libsigc++-%version.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: m4 + +%description +This library implements a full callback system for use in widget libraries, +abstract interfaces, and general programming. Originally part of the Gtk-- +widget set, %name is now a seperate library to provide for more general +use. It is the most complete library of its kind with the ablity to connect +an abstract callback to a class method, function, or function object. It +contains adaptor classes for connection of dissimilar callbacks and has an +ease of use unmatched by other C++ callback libraries. + +Package GTK-- (gtkmm), which is a C++ binding to the GTK+ library, +starting with version 1.1.2, uses %name. + +%package devel +Summary: development tools for the Typesafe Signal Framework for C++ +Group: Development/Libraries +Requires: %name = %{epoch}:%version-%{release} +Requires: pkgconfig + +%description devel +The %name-devel package contains the static libraries and header files +needed for development with %name. + + +%prep +%setup -q -n libsigc++-%{version} + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT docs-to-include +make DESTDIR=${RPM_BUILD_ROOT} install +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' +%{__mkdir} docs-to-include +%{__mv} ${RPM_BUILD_ROOT}%{_docdir}/libsigc-2.0/* docs-to-include/ + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +/sbin/ldconfig + + +%postun +/sbin/ldconfig + + + +%files +%defattr(-,root,root,-) +%{_libdir}/*.so.* +%doc AUTHORS README NEWS ChangeLog TODO + +%files devel +%defattr(-,root,root,-) +%doc docs-to-include/* +%{_includedir}/* +%{_libdir}/sigc++-2.0 +%{_libdir}/pkgconfig/*.pc +%{_libdir}/*.so +%{_libdir}/*.a + +%changelog +* Mon Jun 27 2004 Denis Leroy - 0:2.0.3-0.fdr.1 +- Update to 2.0.3 +- Merged deps from FC2 sigc++ 1.2.5 spec +- Moved docs to regular directory + +* Sat Apr 15 2000 Dmitry V. Levin +- updated Url and Source fileds +- 1.0.0 stable release + +* Sat Jan 22 2000 Dmitry V. Levin +- filtering out -fno-rtti and -fno-exceptions options from $RPM_OPT_FLAGS +- minor install section cleanup + +* Wed Jan 19 2000 Allan Rae +- autogen just creates configure, not runs it, so cleaned that up too. + +* Wed Jan 19 2000 Dmitry V. Levin +- minor attr fix +- removed unnecessary curly braces +- fixed Herbert's adjustement + +* Sat Jan 15 2000 Dmitry V. Levin +- minor package dependence fix + +* Sat Dec 25 1999 Herbert Valerio Riedel +- fixed typo of mine +- added traditional CUSTOM_RELEASE stuff +- added SMP support + +* Thu Dec 23 1999 Herbert Valerio Riedel +- adjusted spec file to get tests.Makefile and examples.Makefile from scripts/ + +* Fri Oct 22 1999 Dmitry V. Levin +- split into three packages: %name, %name-devel and %name-examples + +* Thu Aug 12 1999 Karl Nelson +- updated source field and merged conflicts between revisions. + +* Tue Aug 10 1999 Dmitry V. Levin +- updated Prefix and BuildRoot fields + +* Thu Aug 5 1999 Herbert Valerio Riedel +- made sure configure works on all alphas + +* Wed Jul 7 1999 Karl Nelson +- Added autoconf macro for sigc. + +* Fri Jun 11 1999 Karl Nelson +- Made into a .in to keep version field up to date +- Still need to do release by hand + +* Mon Jun 7 1999 Dmitry V. Levin +- added Vendor and Packager fields + +* Sat Jun 5 1999 Dmitry V. Levin +- updated to 0.8.0 + +* Tue Jun 1 1999 Dmitry V. Levin +- initial revision diff --git a/sources b/sources index e69de29..55d7c1a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +57c6887dd46ce0bd312a4823589db5d8 libsigc++-2.0.3.tar.gz