]>
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 |
b99a4001 | 4 | Version: 2.4.3 |
5 | Release: 1 | |
01ba4894 | 6 | License: GPL v.2 |
7 | Group: X11/Development/Libraries | |
a20fcde0 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/bakery/2.4/%{name}-%{version}.tar.bz2 |
b99a4001 | 9 | # Source0-md5: 7d22a4610656c412e6ae3918a3e82304 |
536d9b92 | 10 | URL: http://bakery.sourceforge.net/ |
01ba4894 | 11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
a20fcde0 | 13 | BuildRequires: gconfmm-devel >= 2.16.0 |
44a834bf | 14 | BuildRequires: gettext-devel |
a20fcde0 MB |
15 | BuildRequires: gnome-vfsmm-devel >= 2.16.0 |
16 | BuildRequires: gtkmm-devel >= 2.10.5 | |
01ba4894 | 17 | BuildRequires: intltool |
b99a4001 | 18 | BuildRequires: libcap-devel |
a20fcde0 | 19 | BuildRequires: libglademm-devel >= 2.6.3 |
01ba4894 | 20 | BuildRequires: libtool |
2409aeee | 21 | BuildRequires: libxml++-devel >= 2.14.0 |
01ba4894 | 22 | BuildRequires: pkgconfig |
23 | BuildRequires: rpmbuild(macros) >= 1.197 | |
a20fcde0 MB |
24 | Requires: gconfmm >= 2.16.0 |
25 | Requires: gnome-vfsmm >= 2.16.0 | |
26 | Requires: gtkmm >= 2.10.5 | |
27 | Requires: libglademm >= 2.6.3 | |
2409aeee | 28 | Requires: libxml++ >= 2.14.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 |
536d9b92 JB |
56 | Group: Development/Libraries |
57 | Requires: %{name} = %{version}-%{release} | |
a20fcde0 MB |
58 | Requires: gconfmm-devel >= 2.16.0 |
59 | Requires: gnome-vfsmm-devel >= 2.16.0 | |
60 | Requires: gtkmm-devel >= 2.10.5 | |
61 | Requires: libglademm-devel >= 2.6.3 | |
2409aeee | 62 | Requires: libxml++-devel >= 2.14.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 |
536d9b92 JB |
73 | Group: Development/Libraries |
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 | |
84 | ||
85 | %build | |
86 | %{__intltoolize} | |
87 | %{__libtoolize} | |
88 | %{__aclocal} | |
89 | %{__autoconf} | |
90 | %{__autoheader} | |
91 | %{__automake} | |
92 | %configure | |
93 | %{__make} | |
94 | ||
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %{__make} install \ | |
99 | DESTDIR=$RPM_BUILD_ROOT | |
100 | ||
01ba4894 | 101 | %find_lang %{name} |
102 | ||
103 | %clean | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %post -p /sbin/ldconfig | |
107 | %postun -p /sbin/ldconfig | |
108 | ||
109 | %files -f %{name}.lang | |
110 | %defattr(644,root,root,755) | |
111 | %doc AUTHORS ChangeLog NEWS README | |
112 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
113 | ||
114 | %files devel | |
115 | %defattr(644,root,root,755) | |
116 | %attr(755,root,root) %{_libdir}/lib*.so | |
117 | %{_libdir}/lib*.la | |
118 | %{_includedir}/bakery-2.4 | |
119 | %{_pkgconfigdir}/*.pc | |
120 | ||
121 | %files static | |
122 | %defattr(644,root,root,755) | |
123 | %{_libdir}/*.a |