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.26/%{name}-%{version}.tar.xz
9 # Source0-md5: 7e1d9fe660437e19134f52de0d2af5b4
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.10.0
21 BuildRequires: gtksourceviewmm3-devel >= 3.0.0
22 BuildRequires: intltool >= 0.36.0
23 BuildRequires: iso-codes
24 BuildRequires: libarchive-devel >= 3.0
25 BuildRequires: libepc-devel >= 0.4.0
26 BuildRequires: libgda5-devel >= 5.2.1
27 BuildRequires: libgdamm5-devel >= 4.99.6
28 BuildRequires: libstdc++-devel
29 BuildRequires: libtool >= 2:2.2.0
30 BuildRequires: libxml++-devel >= 2.23.1
31 BuildRequires: libxslt-devel >= 1.1.17
32 BuildRequires: mm-common >= 0.9.5
33 BuildRequires: pkgconfig
34 BuildRequires: pkgconfig(libgda-mysql-5.0)
35 BuildRequires: pkgconfig(libgda-postgres-5.0)
36 BuildRequires: pkgconfig(libgda-sqlite-5.0)
37 BuildRequires: python-devel
38 BuildRequires: python-pygobject3-devel >= 2.29.0
39 BuildRequires: rpmbuild(find_lang) >= 1.23
40 BuildRequires: rpmbuild(macros) >= 1.311
41 BuildRequires: sphinx-pdg
42 BuildRequires: tar >= 1:1.22
44 Requires(post,postun): desktop-file-utils
45 Requires(post,postun): gtk-update-icon-cache
46 Requires(post,postun): hicolor-icon-theme
47 Requires(post,postun): scrollkeeper
48 Requires(post,postun): shared-mime-info
49 %pyrequires_eq python-modules
50 Requires: evince >= 3.0
51 Requires: glibmm >= 2.32.0
52 Requires: goocanvas2 >= 2.0.1
53 Requires: goocanvasmm2 >= 1.90.8
54 Requires: gtkmm3 >= 3.10.0
55 Requires: gtksourceviewmm3 >= 3.0.0
57 Requires: libepc >= 0.4.0
58 Requires: libgda5 >= 5.2.1
59 Requires: libgdamm5 >= 4.99.6
60 Requires: libxml++ >= 2.23.1
61 Requires: libxslt >= 1.1.17
62 Requires: python-pygobject3 >= 2.29.0
63 Suggests: libgda5-provider-mysql >= 5.2.1
64 Suggests: libgda5-provider-postgres >= 5.2.1
65 Suggests: libgda5-provider-sqlite >= 5.2.1
66 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69 Glom is an easy-to-use database designer and user interface.
71 %description -l pl.UTF-8
72 Glom jest łatwym w użyciu programem do projektowania baz danych oraz
73 interfejsem użytkownika.
76 Summary: Header files for Glom library
77 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Glom
78 Group: Development/Libraries
79 Requires: %{name} = %{version}-%{release}
82 Header files for Glom library.
84 %description devel -l pl.UTF-8
85 Pliki nagłówkowe biblioteki Glom.
88 Summary: API documentation for Glom library and its Python binding
89 Summary(pl.UTF-8): Dokumentacja API biblioteki Glom i jej wiązań do Pythona
93 API documentation for Glom library and its Python binding.
95 %description apidocs -l pl.UTF-8
96 Dokumentacja API biblioteki Glom i jej wiązań do Pythona.
99 Summary: Examples for Glom
100 Summary(pl.UTF-8): Przykłady dla Gloma
103 %description examples
106 %description examples -l pl.UTF-8
113 %{__gnome_doc_prepare}
117 %{__aclocal} -I macros
122 --disable-scrollkeeper \
123 --disable-silent-rules \
125 --disable-update-mime-database \
126 --with-postgres-utils=%{_bindir}
130 rm -rf $RPM_BUILD_ROOT
133 DESTDIR=$RPM_BUILD_ROOT
135 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
136 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
138 install -d $RPM_BUILD_ROOT%{_examplesdir}
139 cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
141 %find_lang %{name} --with-gnome --with-omf
144 rm -rf $RPM_BUILD_ROOT
148 %update_desktop_database_post
149 %update_mime_database
150 %update_icon_cache hicolor
151 %scrollkeeper_update_post
155 %update_desktop_database_postun
156 %update_mime_database
157 %update_icon_cache hicolor
158 %scrollkeeper_update_postun
160 %files -f %{name}.lang
161 %defattr(644,root,root,755)
162 %doc AUTHORS ChangeLog NEWS README TODO
163 %attr(755,root,root) %{_bindir}/glom
164 %attr(755,root,root) %{_bindir}/glom_export_po
165 %attr(755,root,root) %{_bindir}/glom_export_po_all
166 %attr(755,root,root) %{_bindir}/glom_import_po_all
167 %attr(755,root,root) %{_bindir}/glom_test_connection
168 %attr(755,root,root) %{_libdir}/libglom-1.26.so.*.*.*
169 %attr(755,root,root) %ghost %{_libdir}/libglom-1.26.so.0
170 %attr(755,root,root) %{py_sitedir}/glom_1_26.so
172 %{_datadir}/appdata/glom.appdata.xml
173 %{_datadir}/mime/packages/glom.xml
174 %{_desktopdir}/glom.desktop
175 %{_iconsdir}/hicolor/*/apps/glom.*
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/libglom-1.26.so
180 %{_includedir}/glom-1.26
181 %{_pkgconfigdir}/glom-1.26.pc
184 %defattr(644,root,root,755)
185 %{_docdir}/libglom-1.26
186 %{_docdir}/pyglom_1_26
187 %{_datadir}/devhelp/books/libglom-1.26
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_bindir}/glom_create_from_example
192 %{_examplesdir}/%{name}-%{version}