X-Git-Url: https://git.pld-linux.org/?p=packages%2Fbakery.git;a=blobdiff_plain;f=bakery.spec;h=edd3b6c1ca35852d3019a03f24495fa70bca5913;hp=f6e323a8d4f3e3b01a5c47c558b36a8caae268a5;hb=HEAD;hpb=01ba48949a21d6d3c798c27135729aaba633417d diff --git a/bakery.spec b/bakery.spec index f6e323a..edd3b6c 100644 --- a/bakery.spec +++ b/bakery.spec @@ -1,23 +1,32 @@ Summary: C++ Framework for creating GNOME applications -Summary(pl): Struktura C++ do tworzenia programów dla GNOME +Summary(pl.UTF-8): Struktura C++ do tworzenia programów dla GNOME Name: bakery -Version: 2.3.13 -Release: 1 -License: GPL v.2 +Version: 2.6.3 +Release: 4 +License: LGPL v2+ Group: X11/Development/Libraries -Source0: http://ftp.gnome.org/pub/GNOME/sources/bakery/2.3/%{name}-%{version}.tar.gz -# Source0-md5: e474af13aa848d507babe03f66c3a4b9 -URL: http://bakery.sourceforge.net -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gconfmm-devel >= 2.6.0 -BuildRequires: gnome-vfsmm-devel >= 2.6.0 -BuildRequires: gtkmm-devel >= 2.6.0 +Source0: http://ftp.gnome.org/pub/GNOME/sources/bakery/2.6/%{name}-%{version}.tar.bz2 +# Source0-md5: 49d28fecf13252f4f2899461505e56e5 +# http://bugzilla.gnome.org/show_bug.cgi?id=564168 +Patch0: %{name}-release-version.patch +URL: http://bakery.sourceforge.net/ +BuildRequires: autoconf >= 2.59 +BuildRequires: automake >= 1:1.9 +BuildRequires: gconfmm-devel >= 2.16.0 +BuildRequires: gettext-tools +BuildRequires: glibmm-devel >= 2.16.0 +BuildRequires: gtkmm-devel >= 2.10.5 BuildRequires: intltool -BuildRequires: libtool -BuildRequires: libxml++-devel >= 2.8.0 +BuildRequires: libglademm-devel >= 2.6.3 +BuildRequires: libstdc++-devel >= 6:4.3 +BuildRequires: libtool >= 2:1.5 +BuildRequires: libxml++2-devel >= 2.24.0 BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 1.197 +Requires: gconfmm >= 2.16.0 +Requires: gtkmm >= 2.10.5 +Requires: libglademm >= 2.6.3 +Requires: libxml++2 >= 2.24.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -31,47 +40,49 @@ applications using gtkmm and/or gnomemm. - gives your application structure, - contains a few utility classes. -%description -l pl -Bakery jest struktur± C++ do tworzenia dokumentowo bazowanych -programów dla GNOME przy u¿yciu gtkmm i/lub gnomemm. +%description -l pl.UTF-8 +Bakery jest strukturą C++ do tworzenia opartych na dokumentach +programów dla GNOME przy użyciu gtkmm i/lub gnomemm. - dostarcza architektury Dokument/Widok -- mo¿e u¿ywaæ XML jako formatu zapisu Dokumentu, -- dostarcza domy¶lnej, ³atwo modyfikowalnej funkcjonalno¶ci, -- pozwala na ³atwy start w tworzeniu aplikacji GNOME, +- może używać XML jako formatu zapisu Dokumentu, +- dostarcza domyślnej, łatwo modyfikowalnej funkcjonalności, +- pozwala na łatwy start w tworzeniu aplikacji GNOME, - nadaje aplikacji format, -- zawiera kilka klas u¿ytkowych +- zawiera kilka klas użytkowych %package devel -Summary: Bakery header files -Summary(pl): Pliki nag³ówkowe Bakery -Group: Development/Libraries -Requires: %{name} = %{version} -Requires: gconfmm-devel >= 2.6.0 -Requires: gnome-vfsmm-devel >= 2.6.0 -Requires: gtkmm-devel >= 2.6.0 -Requires: libxml++-devel >= 2.8.0 +Summary: Bakery header files +Summary(pl.UTF-8): Pliki nagłówkowe Bakery +Group: X11/Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: gconfmm-devel >= 2.16.0 +Requires: glibmm-devel >= 2.16.0 +Requires: gtkmm-devel >= 2.10.5 +Requires: libglademm-devel >= 2.6.3 +Requires: libxml++2-devel >= 2.24.0 %description devel Header files for Bakery framework. -%description devel -l pl -Pliki nag³ówkowe dla struktury Bakery. +%description devel -l pl.UTF-8 +Pliki nagłówkowe dla struktury Bakery. %package static -Summary: Static Bakery library -Summary(pl): Statyczna biblioteka Bakery -Group: Development/Libraries -Requires: %{name}-devel = %{version} +Summary: Static Bakery library +Summary(pl.UTF-8): Statyczna biblioteka Bakery +Group: X11/Development/Libraries +Requires: %{name}-devel = %{version}-%{release} %description static Static Bakery library. -%description static -l pl +%description static -l pl.UTF-8 Statyczna biblioteka Bakery. %prep %setup -q +%patch0 -p1 %build %{__intltoolize} @@ -80,6 +91,8 @@ Statyczna biblioteka Bakery. %{__autoconf} %{__autoheader} %{__automake} +# for glibmm 2.46+/libxml++ 2.40+ +CXXFLAGS="%{rpmcxxflags} -std=c++0x" %configure %{__make} @@ -89,8 +102,7 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -# bogus (well, author is German guy ;) -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/de +%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbakery-*.la %find_lang %{name} @@ -103,15 +115,17 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README -%attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%attr(755,root,root) %{_libdir}/libbakery-2.6-2.6.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libbakery-2.6-2.6.so.1 %files devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/lib*.so -%{_libdir}/lib*.la -%{_includedir}/bakery-2.4 -%{_pkgconfigdir}/*.pc +%attr(755,root,root) %{_libdir}/libbakery-2.6.so +%dir %{_libdir}/bakery-2.6 +%{_libdir}/bakery-2.6/include +%{_includedir}/bakery-2.6 +%{_pkgconfigdir}/bakery-2.6.pc %files static %defattr(644,root,root,755) -%{_libdir}/*.a +%{_libdir}/libbakery-2.6.a