Author: wiget Date: Wed Mar 23 12:47:18 2011 GMT Module: packages Tag: HEAD ---- Log message: - based on gtkmm.spec
---- Files affected: packages/gtkmm3: gtkmm3.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/gtkmm3/gtkmm3.spec diff -u /dev/null packages/gtkmm3/gtkmm3.spec:1.1 --- /dev/null Wed Mar 23 13:47:18 2011 +++ packages/gtkmm3/gtkmm3.spec Wed Mar 23 13:47:13 2011 @@ -0,0 +1,156 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without static_libs # don't build static libraries +# +Summary: A C++ interface for the GTK+ (a GUI library for X) +Summary(pl.UTF-8): Wrapper C++ dla GTK+ +Name: gtkmm3 +Version: 2.99.6 +Release: 1 +License: LGPL v2+ +Group: X11/Libraries +Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.99/gtkmm-%{version}.tar.bz2 +# Source0-md5: d64ce83da4aec98fd12111193eaca5de +URL: http://www.gtkmm.org/ +BuildRequires: atkmm-devel >= 2.22.0 +BuildRequires: autoconf >= 2.59 +BuildRequires: automake >= 1:1.9 +BuildRequires: cairomm-devel >= 1.9.2 +BuildRequires: glibmm-devel >= 2.27.93 +BuildRequires: gtk+3-devel >= 3.0.0 +BuildRequires: gdk-pixbuf2-devel >= 2.22.1 +BuildRequires: libsigc++-devel +BuildRequires: libstdc++-devel >= 5:3.3.1 +BuildRequires: libtool >= 2:1.4d-3 +BuildRequires: mm-common >= 0.8 +BuildRequires: pangomm-devel >= 2.27.1 +BuildRequires: perl-base >= 1:5.6.0 +BuildRequires: pkgconfig +Requires: atkmm >= 2.22.0 +Requires: cairomm >= 1.9.2 +Requires: glibmm >= 2.27.93 +Requires: pangomm >= 2.27.1 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI +library. The interface provides a convenient interface for C++ +programmers to create GUIs with GTK+'s flexible object-oriented +framework. Features include type safe callbacks, widgets that are +extensible using inheritance and over 110 classes that can be freely +combined to quickly create complex user interfaces. + +%description -l pl.UTF-8 +gtkmm jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest biblioteką +służącą do tworzenia graficznych interfejsów. W pakiecie znajduje się +także biblioteka gdkmm - wrapper C++ dla GDK (General Drawing Kit). + +%package devel +Summary: gtkmm and gdkmm header files +Summary(pl.UTF-8): Pliki nagłówkowe gtkmm i gdkmm +Group: X11/Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: atkmm-devel >= 2.22.0 +Requires: glibmm-devel >= 2.27.93 +Requires: gtk+3-devel >= 3.0.0 +Requires: pangomm-devel >= 2.27.1 + +%description devel +Header files for gtkmm library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki gtkmm. + +%package static +Summary: gtkmm and gdkmm static libraries +Summary(pl.UTF-8): Biblioteki statyczne gtkmm i gdkmm +Group: X11/Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +gtkmm and gdkmm static libraries. + +%description static -l pl.UTF-8 +Biblioteki statyczne gtkmm i gdkmm. + +%package apidocs +Summary: Reference documentation for gtkmm and gdkmm +Summary(pl.UTF-8): Szczegółowa dokumentacja gtkmm i gdkmm +Group: Documentation +Requires: devhelp + +%description apidocs +Reference documentation for gtkmm and gdkmm. + +%description apidocs -l pl.UTF-8 +Szczegółowa dokumentacja gtkmm i gdkmm. + +%prep +%setup -q -n gtkmm-%{version} + +%build +%{__libtoolize} +%{__aclocal} -I build +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + %{?with_static_libs:--enable-static} + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS PORTING README +%attr(755,root,root) %{_libdir}/libgdkmm-3.0.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libgdkmm-3.0.so.1 +%attr(755,root,root) %{_libdir}/libgtkmm-3.0.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libgtkmm-3.0.so.1 + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libgdkmm-3.0.so +%attr(755,root,root) %{_libdir}/libgtkmm-3.0.so +%{_libdir}/gdkmm-3.0 +%{_libdir}/gtkmm-3.0 +%{_includedir}/gdkmm-3.0 +%{_includedir}/gtkmm-3.0 +%{_pkgconfigdir}/gdkmm-3.0.pc +%{_pkgconfigdir}/gtkmm-3.0.pc + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libgdkmm-3.0.a +%{_libdir}/libgtkmm-3.0.a +%endif + +%files apidocs +%defattr(644,root,root,755) +%{_docdir}/gtkmm-3.0 +%{_datadir}/devhelp/books/gtkmm-3.0 + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/03/23 12:47:13 wiget +- based on gtkmm.spec + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
