SPECS: crossmingw32-libsigc++.spec (NEW) - init PLD - based on lib...

czarny czarny at pld-linux.org
Tue Jan 30 21:25:36 CET 2007


Author: czarny                       Date: Tue Jan 30 20:25:36 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init PLD
- based on libsigc++.spec

---- Files affected:
SPECS:
   crossmingw32-libsigc++.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/crossmingw32-libsigc++.spec
diff -u /dev/null SPECS/crossmingw32-libsigc++.spec:1.1
--- /dev/null	Tue Jan 30 21:25:36 2007
+++ SPECS/crossmingw32-libsigc++.spec	Tue Jan 30 21:25:31 2007
@@ -0,0 +1,98 @@
+# $Revision$, $Date$
+#
+%define		_realname	libsigc++
+Summary:	The Typesafe Signal Framework for C++ - Mingw32 cross version
+Summary(pl):	Środowisko sygnałów z kontrolą typów dla C++ - wersja skrośna dla Mingw32
+Name:		crossmingw32-%{_realname}
+Version:	2.0.17
+Release:	2
+Epoch:		1
+License:	LGPL
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/gnome/sources/libsigc++/2.0/%{_realname}-%{version}.tar.bz2
+# Source0-md5:	fde0ee69e3125e982746d9fe005763e1
+URL:		http://libsigc.sourceforge.net/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1.9
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
+BuildRequires:	m4
+BuildRequires:	perl-base
+Obsoletes:	libsigc++-examples
+Conflicts:	libsigc++ < 1.1.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		no_install_post_strip	1
+
+%define		target			i386-mingw32
+%define		target_platform 	i386-pc-mingw32
+%define		arch			%{_prefix}/%{target}
+%define		gccarch			%{_prefix}/lib/gcc-lib/%{target}
+%define		gcclib			%{_prefix}/lib/gcc-lib/%{target}/%{version}
+
+%define		_sysprefix		/usr
+%define		_prefix			%{_sysprefix}/%{target}
+%define		__cc			%{target}-gcc
+%define		__cxx			%{target}-g++
+
+%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, libsigc++ 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.
+
+%description -l pl
+Ta biblioteka jest implementacją pełnego systemu callbacków do
+używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
+ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
+Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
+przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
+łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
+obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
+callbacków.
+
+%prep
+%setup -q -n %{_realname}-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal} -I scripts
+%{__autoconf}
+%{__automake}
+%configure \
+	--host=%{target_platform} \
+	%{!?with_static_libs:--disable-static}
+%{__make} all
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%{_libdir}/lib*.a
+%{_libdir}/lib*.la
+%{_includedir}/sigc++-*
+%{_libdir}/sigc++*
+%{_prefix}/lib/pkgconfig/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/01/30 20:25:31  czarny
+- init PLD
+- based on libsigc++.spec
+
================================================================


More information about the pld-cvs-commit mailing list