]>
Commit | Line | Data |
---|---|---|
1 | Summary: C++ Framework for creating GNOME applications | |
2 | Summary(pl.UTF-8): Struktura C++ do tworzenia programów dla GNOME | |
3 | Name: bakery | |
4 | Version: 2.6.3 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Development/Libraries | |
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 | |
12 | URL: http://bakery.sourceforge.net/ | |
13 | BuildRequires: autoconf >= 2.59 | |
14 | BuildRequires: automake >= 1:1.9 | |
15 | BuildRequires: gconfmm-devel >= 2.16.0 | |
16 | BuildRequires: gettext-devel | |
17 | BuildRequires: glibmm-devel >= 2.16.0 | |
18 | BuildRequires: gtkmm-devel >= 2.10.5 | |
19 | BuildRequires: intltool | |
20 | BuildRequires: libglademm-devel >= 2.6.3 | |
21 | BuildRequires: libtool | |
22 | BuildRequires: libxml++-devel >= 2.24.0 | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: rpmbuild(macros) >= 1.197 | |
25 | Requires: gconfmm >= 2.16.0 | |
26 | Requires: gtkmm >= 2.10.5 | |
27 | Requires: libglademm >= 2.6.3 | |
28 | Requires: libxml++ >= 2.24.0 | |
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 | ||
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. | |
45 | ||
46 | - dostarcza architektury Dokument/Widok | |
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, | |
50 | - nadaje aplikacji format, | |
51 | - zawiera kilka klas użytkowych | |
52 | ||
53 | %package devel | |
54 | Summary: Bakery header files | |
55 | Summary(pl.UTF-8): Pliki nagłówkowe Bakery | |
56 | Group: X11/Development/Libraries | |
57 | Requires: %{name} = %{version}-%{release} | |
58 | Requires: gconfmm-devel >= 2.16.0 | |
59 | Requires: glibmm-devel >= 2.16.0 | |
60 | Requires: gtkmm-devel >= 2.10.5 | |
61 | Requires: libglademm-devel >= 2.6.3 | |
62 | Requires: libxml++-devel >= 2.24.0 | |
63 | ||
64 | %description devel | |
65 | Header files for Bakery framework. | |
66 | ||
67 | %description devel -l pl.UTF-8 | |
68 | Pliki nagłówkowe dla struktury Bakery. | |
69 | ||
70 | %package static | |
71 | Summary: Static Bakery library | |
72 | Summary(pl.UTF-8): Statyczna biblioteka Bakery | |
73 | Group: X11/Development/Libraries | |
74 | Requires: %{name}-devel = %{version}-%{release} | |
75 | ||
76 | %description static | |
77 | Static Bakery library. | |
78 | ||
79 | %description static -l pl.UTF-8 | |
80 | Statyczna biblioteka Bakery. | |
81 | ||
82 | %prep | |
83 | %setup -q | |
84 | %patch0 -p1 | |
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 | ||
102 | %find_lang %{name} | |
103 | ||
104 | %clean | |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %post -p /sbin/ldconfig | |
108 | %postun -p /sbin/ldconfig | |
109 | ||
110 | %files -f %{name}.lang | |
111 | %defattr(644,root,root,755) | |
112 | %doc AUTHORS ChangeLog NEWS README | |
113 | %attr(755,root,root) %{_libdir}/libbakery-2.6-2.6.so.*.*.* | |
114 | %attr(755,root,root) %ghost %{_libdir}/libbakery-2.6-2.6.so.1 | |
115 | ||
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
118 | %attr(755,root,root) %{_libdir}/libbakery-2.6.so | |
119 | %dir %{_libdir}/bakery-2.6 | |
120 | %{_libdir}/bakery-2.6/include | |
121 | %{_libdir}/libbakery-2.6.la | |
122 | %{_includedir}/bakery-2.6 | |
123 | %{_pkgconfigdir}/bakery-2.6.pc | |
124 | ||
125 | %files static | |
126 | %defattr(644,root,root,755) | |
127 | %{_libdir}/libbakery-2.6.a |