]>
Commit | Line | Data |
---|---|---|
051643cb | 1 | Summary: A user-friendly database environment |
f7680377 | 2 | Summary(pl.UTF-8): Przyjazne użytkownikowi środowisko bazodanowe |
7c214bde | 3 | Name: glom |
0ce7ebbe | 4 | Version: 1.24.3 |
8dece2c8 | 5 | Release: 2 |
7c214bde | 6 | License: GPL v2 |
d6830789 | 7 | Group: X11/Applications |
086f6619 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/glom/1.24/%{name}-%{version}.tar.xz |
0ce7ebbe | 9 | # Source0-md5: 4221d5dc3b66b6541e9713d774e47848 |
7c214bde | 10 | URL: http://www.glom.org/ |
086f6619 JB |
11 | BuildRequires: autoconf >= 2.63 |
12 | BuildRequires: automake >= 1:1.10 | |
13 | BuildRequires: boost-devel | |
14 | BuildRequires: evince-devel >= 3.0 | |
15 | BuildRequires: gettext-devel >= 0.17 | |
16 | BuildRequires: glibmm-devel >= 2.32.0 | |
d6830789 | 17 | BuildRequires: gnome-doc-utils >= 0.10.0 |
086f6619 JB |
18 | BuildRequires: goocanvas2-devel >= 2.0.1 |
19 | BuildRequires: goocanvasmm2-devel >= 1.90.8 | |
20 | BuildRequires: gtkmm3-devel >= 3.4.0 | |
21 | BuildRequires: gtksourceviewmm3-devel >= 3.0.0 | |
d6830789 | 22 | BuildRequires: intltool >= 0.36.0 |
7c214bde | 23 | BuildRequires: iso-codes |
086f6619 JB |
24 | BuildRequires: libepc-devel >= 0.4.0 |
25 | BuildRequires: libgda5-devel >= 5.0.3 | |
26 | BuildRequires: libgdamm5-devel >= 4.99.6 | |
27 | BuildRequires: libstdc++-devel | |
28 | BuildRequires: libtool >= 2:2.2.0 | |
29 | BuildRequires: libxml++-devel >= 2.23.1 | |
051643cb | 30 | BuildRequires: libxslt-devel >= 1.1.17 |
086f6619 | 31 | BuildRequires: mm-common >= 0.9.5 |
d6830789 | 32 | BuildRequires: pkgconfig |
086f6619 JB |
33 | BuildRequires: pkgconfig(libgda-mysql-5.0) |
34 | BuildRequires: pkgconfig(libgda-postgres-5.0) | |
35 | BuildRequires: pkgconfig(libgda-sqlite-5.0) | |
36 | BuildRequires: python-devel | |
37 | BuildRequires: python-pygobject3-devel >= 2.29.0 | |
d6830789 MB |
38 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
39 | BuildRequires: rpmbuild(macros) >= 1.311 | |
086f6619 JB |
40 | BuildRequires: sphinx-pdg |
41 | BuildRequires: tar >= 1:1.22 | |
42 | BuildRequires: xz | |
d6830789 | 43 | Requires(post,postun): desktop-file-utils |
384aa7d7 | 44 | Requires(post,postun): gtk-update-icon-cache |
16071c1b | 45 | Requires(post,postun): hicolor-icon-theme |
cd9b01bd | 46 | Requires(post,postun): scrollkeeper |
7c214bde | 47 | Requires(post,postun): shared-mime-info |
7c214bde | 48 | %pyrequires_eq python-modules |
086f6619 JB |
49 | Requires: evince >= 3.0 |
50 | Requires: glibmm >= 2.32.0 | |
51 | Requires: goocanvas2 >= 2.0.1 | |
52 | Requires: goocanvasmm2 >= 1.90.8 | |
53 | Requires: gtkmm3 >= 3.4.0 | |
54 | Requires: gtksourceviewmm3 >= 3.0.0 | |
55 | Requires: iso-codes | |
56 | Requires: libepc >= 0.4.0 | |
57 | Requires: libgda5 >= 5.0.3 | |
58 | Requires: libgdamm5 >= 4.99.6 | |
59 | Requires: libxml++ >= 2.23.1 | |
60 | Requires: libxslt >= 1.1.17 | |
61 | Requires: python-pygobject3 >= 2.29.0 | |
62 | Suggests: libgda5-provider-mysql >= 5.0.3 | |
63 | Suggests: libgda5-provider-postgres >= 5.0.3 | |
64 | Suggests: libgda5-provider-sqlite >= 5.0.3 | |
7c214bde | 65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66 | ||
67 | %description | |
68 | Glom is an easy-to-use database designer and user interface. | |
69 | ||
34c48b30 JR |
70 | %description -l pl.UTF-8 |
71 | Glom jest łatwym w użyciu programem do projektowania baz danych oraz | |
72 | interfejsem użytkownika. | |
7c214bde | 73 | |
086f6619 JB |
74 | %package devel |
75 | Summary: Header files for Glom library | |
76 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Glom | |
77 | Group: Development/Libraries | |
78 | Requires: %{name} = %{version}-%{release} | |
79 | ||
80 | %description devel | |
81 | Header files for Glom library. | |
82 | ||
83 | %description devel -l pl.UTF-8 | |
84 | Pliki nagłówkowe biblioteki Glom. | |
85 | ||
86 | %package apidocs | |
87 | Summary: API documentation for Glom library and its Python binding | |
88 | Summary(pl.UTF-8): Dokumentacja API biblioteki Glom i jej wiązań do Pythona | |
89 | Group: Documentation | |
90 | ||
91 | %description apidocs | |
92 | API documentation for Glom library and its Python binding. | |
93 | ||
94 | %description apidocs -l pl.UTF-8 | |
95 | Dokumentacja API biblioteki Glom i jej wiązań do Pythona. | |
96 | ||
97 | %package examples | |
98 | Summary: Examples for Glom | |
99 | Summary(pl.UTF-8): Przykłady dla Gloma | |
100 | Group: Documentation | |
101 | ||
102 | %description examples | |
103 | Examples for Glom. | |
104 | ||
105 | %description examples -l pl.UTF-8 | |
106 | Przykłady dla Gloma. | |
107 | ||
7c214bde | 108 | %prep |
109 | %setup -q | |
7c214bde | 110 | |
111 | %build | |
051643cb | 112 | %{__gnome_doc_prepare} |
086f6619 | 113 | %{__gettextize} |
7c214bde | 114 | %{__intltoolize} |
115 | %{__libtoolize} | |
7c214bde | 116 | %{__aclocal} -I macros |
7c214bde | 117 | %{__autoconf} |
d6830789 | 118 | %{__autoheader} |
7c214bde | 119 | %{__automake} |
120 | %configure \ | |
086f6619 JB |
121 | --disable-scrollkeeper \ |
122 | --disable-silent-rules \ | |
051643cb | 123 | --disable-static \ |
cd9b01bd | 124 | --disable-update-mime-database \ |
c0d9696b | 125 | --with-postgres-utils=%{_bindir} |
7c214bde | 126 | %{__make} |
127 | ||
128 | %install | |
129 | rm -rf $RPM_BUILD_ROOT | |
130 | ||
131 | %{__make} install \ | |
132 | DESTDIR=$RPM_BUILD_ROOT | |
133 | ||
086f6619 JB |
134 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
135 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la | |
7c214bde | 136 | |
d6830789 | 137 | %find_lang %{name} --with-gnome --with-omf |
7c214bde | 138 | |
139 | %clean | |
140 | rm -rf $RPM_BUILD_ROOT | |
141 | ||
142 | %post | |
143 | /sbin/ldconfig | |
d6830789 | 144 | %update_desktop_database_post |
7c214bde | 145 | %update_mime_database |
146 | %update_icon_cache hicolor | |
cd9b01bd | 147 | %scrollkeeper_update_post |
7c214bde | 148 | |
149 | %postun | |
150 | /sbin/ldconfig | |
d6830789 | 151 | %update_desktop_database_postun |
7c214bde | 152 | %update_mime_database |
153 | %update_icon_cache hicolor | |
cd9b01bd | 154 | %scrollkeeper_update_postun |
7c214bde | 155 | |
156 | %files -f %{name}.lang | |
157 | %defattr(644,root,root,755) | |
158 | %doc AUTHORS ChangeLog NEWS README TODO | |
d6830789 | 159 | %attr(755,root,root) %{_bindir}/glom |
086f6619 JB |
160 | %attr(755,root,root) %{_bindir}/glom_export_po |
161 | %attr(755,root,root) %{_bindir}/glom_export_po_all | |
162 | %attr(755,root,root) %{_bindir}/glom_import_po_all | |
163 | %attr(755,root,root) %{_bindir}/glom_test_connection | |
164 | %attr(755,root,root) %{_libdir}/libglom-1.24.so.*.*.* | |
165 | %attr(755,root,root) %ghost %{_libdir}/libglom-1.24.so.0 | |
166 | %attr(755,root,root) %{py_sitedir}/glom_1_24.so | |
7c214bde | 167 | %{_datadir}/%{name} |
086f6619 | 168 | %{_datadir}/appdata/glom.appdata.xml |
d6830789 MB |
169 | %{_datadir}/mime/packages/glom.xml |
170 | %{_desktopdir}/glom.desktop | |
086f6619 JB |
171 | %{_iconsdir}/hicolor/*/apps/glom.* |
172 | ||
173 | %files devel | |
174 | %defattr(644,root,root,755) | |
175 | %attr(755,root,root) %{_libdir}/libglom-1.24.so | |
176 | %{_includedir}/glom-1.24 | |
177 | %{_pkgconfigdir}/glom-1.24.pc | |
178 | ||
179 | %files apidocs | |
180 | %defattr(644,root,root,755) | |
181 | %{_docdir}/libglom-1.24 | |
182 | %{_docdir}/pyglom_1_24 | |
183 | %{_datadir}/devhelp/books/libglom-1.24 | |
184 | ||
185 | %files examples | |
186 | %defattr(644,root,root,755) | |
187 | %attr(755,root,root) %{_bindir}/glom_create_from_example | |
188 | %dir %{_docdir}/glom | |
189 | %{_docdir}/glom/examples |