]>
Commit | Line | Data |
---|---|---|
01ba4894 | 1 | Summary: C++ Framework for creating GNOME applications |
51f6e44e | 2 | Summary(pl.UTF-8): Struktura C++ do tworzenia programów dla GNOME |
01ba4894 | 3 | Name: bakery |
6a2e6346 | 4 | Version: 2.6.3 |
670675f3 | 5 | Release: 3 |
4b612c69 | 6 | License: LGPL v2+ |
01ba4894 | 7 | Group: X11/Development/Libraries |
6a2e6346 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/bakery/2.6/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 49d28fecf13252f4f2899461505e56e5 | |
10 | # http://bugzilla.gnome.org/show_bug.cgi?id=564168 | |
11 | Patch0: %{name}-release-version.patch | |
536d9b92 | 12 | URL: http://bakery.sourceforge.net/ |
6a2e6346 MB |
13 | BuildRequires: autoconf >= 2.59 |
14 | BuildRequires: automake >= 1:1.9 | |
a20fcde0 | 15 | BuildRequires: gconfmm-devel >= 2.16.0 |
2bcd9930 | 16 | BuildRequires: gettext-tools |
6a2e6346 | 17 | BuildRequires: glibmm-devel >= 2.16.0 |
a20fcde0 | 18 | BuildRequires: gtkmm-devel >= 2.10.5 |
01ba4894 | 19 | BuildRequires: intltool |
a20fcde0 | 20 | BuildRequires: libglademm-devel >= 2.6.3 |
01ba4894 | 21 | BuildRequires: libtool |
670675f3 | 22 | BuildRequires: libxml++2-devel >= 2.24.0 |
01ba4894 | 23 | BuildRequires: pkgconfig |
24 | BuildRequires: rpmbuild(macros) >= 1.197 | |
a20fcde0 | 25 | Requires: gconfmm >= 2.16.0 |
a20fcde0 MB |
26 | Requires: gtkmm >= 2.10.5 |
27 | Requires: libglademm >= 2.6.3 | |
670675f3 | 28 | Requires: libxml++2 >= 2.24.0 |
01ba4894 | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | Bakery is a C++ Framework for creating document-based GNOME | |
33 | applications using gtkmm and/or gnomemm. | |
34 | ||
35 | - provides a Document/View architecture, | |
36 | - can use XML as a Document storage format, | |
37 | - provides default functionality, which can be easily customized, | |
38 | - makes it easy to start developing GNOME applications, | |
39 | - gives your application structure, | |
40 | - contains a few utility classes. | |
41 | ||
e0cbc6fa JR |
42 | %description -l pl.UTF-8 |
43 | Bakery jest strukturą C++ do tworzenia opartych na dokumentach | |
44 | programów dla GNOME przy użyciu gtkmm i/lub gnomemm. | |
01ba4894 | 45 | |
46 | - dostarcza architektury Dokument/Widok | |
e0cbc6fa JR |
47 | - może używać XML jako formatu zapisu Dokumentu, |
48 | - dostarcza domyślnej, łatwo modyfikowalnej funkcjonalności, | |
49 | - pozwala na łatwy start w tworzeniu aplikacji GNOME, | |
01ba4894 | 50 | - nadaje aplikacji format, |
e0cbc6fa | 51 | - zawiera kilka klas użytkowych |
01ba4894 | 52 | |
53 | %package devel | |
536d9b92 | 54 | Summary: Bakery header files |
51f6e44e | 55 | Summary(pl.UTF-8): Pliki nagłówkowe Bakery |
3e886340 | 56 | Group: X11/Development/Libraries |
536d9b92 | 57 | Requires: %{name} = %{version}-%{release} |
a20fcde0 | 58 | Requires: gconfmm-devel >= 2.16.0 |
6a2e6346 | 59 | Requires: glibmm-devel >= 2.16.0 |
a20fcde0 MB |
60 | Requires: gtkmm-devel >= 2.10.5 |
61 | Requires: libglademm-devel >= 2.6.3 | |
670675f3 | 62 | Requires: libxml++2-devel >= 2.24.0 |
01ba4894 | 63 | |
64 | %description devel | |
65 | Header files for Bakery framework. | |
66 | ||
e0cbc6fa JR |
67 | %description devel -l pl.UTF-8 |
68 | Pliki nagłówkowe dla struktury Bakery. | |
01ba4894 | 69 | |
70 | %package static | |
536d9b92 | 71 | Summary: Static Bakery library |
51f6e44e | 72 | Summary(pl.UTF-8): Statyczna biblioteka Bakery |
3e886340 | 73 | Group: X11/Development/Libraries |
536d9b92 | 74 | Requires: %{name}-devel = %{version}-%{release} |
01ba4894 | 75 | |
76 | %description static | |
77 | Static Bakery library. | |
78 | ||
e0cbc6fa | 79 | %description static -l pl.UTF-8 |
01ba4894 | 80 | Statyczna biblioteka Bakery. |
81 | ||
82 | %prep | |
83 | %setup -q | |
6a2e6346 | 84 | %patch0 -p1 |
01ba4894 | 85 | |
86 | %build | |
87 | %{__intltoolize} | |
88 | %{__libtoolize} | |
89 | %{__aclocal} | |
90 | %{__autoconf} | |
91 | %{__autoheader} | |
92 | %{__automake} | |
93 | %configure | |
94 | %{__make} | |
95 | ||
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %{__make} install \ | |
100 | DESTDIR=$RPM_BUILD_ROOT | |
101 | ||
42db6bf3 AF |
102 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libbakery-*.la |
103 | ||
01ba4894 | 104 | %find_lang %{name} |
105 | ||
106 | %clean | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post -p /sbin/ldconfig | |
110 | %postun -p /sbin/ldconfig | |
111 | ||
112 | %files -f %{name}.lang | |
113 | %defattr(644,root,root,755) | |
114 | %doc AUTHORS ChangeLog NEWS README | |
6a2e6346 MB |
115 | %attr(755,root,root) %{_libdir}/libbakery-2.6-2.6.so.*.*.* |
116 | %attr(755,root,root) %ghost %{_libdir}/libbakery-2.6-2.6.so.1 | |
01ba4894 | 117 | |
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
6a2e6346 MB |
120 | %attr(755,root,root) %{_libdir}/libbakery-2.6.so |
121 | %dir %{_libdir}/bakery-2.6 | |
122 | %{_libdir}/bakery-2.6/include | |
6a2e6346 MB |
123 | %{_includedir}/bakery-2.6 |
124 | %{_pkgconfigdir}/bakery-2.6.pc | |
01ba4894 | 125 | |
126 | %files static | |
127 | %defattr(644,root,root,755) | |
6a2e6346 | 128 | %{_libdir}/libbakery-2.6.a |