1 Summary: A user-friendly database environment
2 Summary(pl.UTF-8): Przyjazne użytkownikowi środowisko bazodanowe
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/glom/1.24/%{name}-%{version}.tar.xz
9 # Source0-md5: 4221d5dc3b66b6541e9713d774e47848
10 URL: http://www.glom.org/
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
17 BuildRequires: gnome-doc-utils >= 0.10.0
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
22 BuildRequires: intltool >= 0.36.0
23 BuildRequires: iso-codes
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
30 BuildRequires: libxslt-devel >= 1.1.17
31 BuildRequires: mm-common >= 0.9.5
32 BuildRequires: pkgconfig
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
38 BuildRequires: rpmbuild(find_lang) >= 1.23
39 BuildRequires: rpmbuild(macros) >= 1.311
40 BuildRequires: sphinx-pdg
41 BuildRequires: tar >= 1:1.22
43 Requires(post,postun): desktop-file-utils
44 Requires(post,postun): gtk-update-icon-cache
45 Requires(post,postun): hicolor-icon-theme
46 Requires(post,postun): scrollkeeper
47 Requires(post,postun): shared-mime-info
48 %pyrequires_eq python-modules
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
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
65 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
68 Glom is an easy-to-use database designer and user interface.
70 %description -l pl.UTF-8
71 Glom jest łatwym w użyciu programem do projektowania baz danych oraz
72 interfejsem użytkownika.
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}
81 Header files for Glom library.
83 %description devel -l pl.UTF-8
84 Pliki nagłówkowe biblioteki Glom.
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
92 API documentation for Glom library and its Python binding.
94 %description apidocs -l pl.UTF-8
95 Dokumentacja API biblioteki Glom i jej wiązań do Pythona.
98 Summary: Examples for Glom
99 Summary(pl.UTF-8): Przykłady dla Gloma
102 %description examples
105 %description examples -l pl.UTF-8
112 %{__gnome_doc_prepare}
116 %{__aclocal} -I macros
121 --disable-scrollkeeper \
122 --disable-silent-rules \
124 --disable-update-mime-database \
125 --with-postgres-utils=%{_bindir}
129 rm -rf $RPM_BUILD_ROOT
132 DESTDIR=$RPM_BUILD_ROOT
134 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
135 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
137 %find_lang %{name} --with-gnome --with-omf
140 rm -rf $RPM_BUILD_ROOT
144 %update_desktop_database_post
145 %update_mime_database
146 %update_icon_cache hicolor
147 %scrollkeeper_update_post
151 %update_desktop_database_postun
152 %update_mime_database
153 %update_icon_cache hicolor
154 %scrollkeeper_update_postun
156 %files -f %{name}.lang
157 %defattr(644,root,root,755)
158 %doc AUTHORS ChangeLog NEWS README TODO
159 %attr(755,root,root) %{_bindir}/glom
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
168 %{_datadir}/appdata/glom.appdata.xml
169 %{_datadir}/mime/packages/glom.xml
170 %{_desktopdir}/glom.desktop
171 %{_iconsdir}/hicolor/*/apps/glom.*
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
180 %defattr(644,root,root,755)
181 %{_docdir}/libglom-1.24
182 %{_docdir}/pyglom_1_24
183 %{_datadir}/devhelp/books/libglom-1.24
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_bindir}/glom_create_from_example
189 %{_docdir}/glom/examples