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.28/%{name}-%{version}.tar.xz
9 # Source0-md5: 18a22f9a29c53580f6dcd718c7081103
10 URL: http://www.glom.org/
11 BuildRequires: autoconf >= 2.63
12 BuildRequires: automake >= 1:1.10
13 BuildRequires: boost-devel
14 BuildRequires: boost-python-devel
15 BuildRequires: evince-devel >= 3.0
16 BuildRequires: gettext-tools >= 0.17
17 BuildRequires: glibmm-devel >= 2.32.0
18 BuildRequires: gnome-doc-utils >= 0.10.0
19 BuildRequires: goocanvas2-devel >= 2.0.1
20 BuildRequires: goocanvasmm2-devel >= 1.90.8
21 BuildRequires: gtkmm3-devel >= 3.14.0
22 BuildRequires: gtksourceviewmm3-devel >= 3.0.0
23 BuildRequires: intltool >= 0.36.0
24 BuildRequires: iso-codes
25 BuildRequires: libarchive-devel >= 3.0
26 BuildRequires: libepc-devel >= 0.4.0
27 BuildRequires: libgda5-devel >= 5.2.1
28 BuildRequires: libgdamm5-devel >= 4.99.8
29 BuildRequires: libstdc++-devel
30 BuildRequires: libtool >= 2:2.2.0
31 BuildRequires: libxml++-devel >= 2.23.1
32 BuildRequires: libxslt-devel >= 1.1.17
33 BuildRequires: mm-common >= 0.9.5
34 BuildRequires: pkgconfig
35 BuildRequires: pkgconfig(libgda-mysql-5.0)
36 BuildRequires: pkgconfig(libgda-postgres-5.0)
37 BuildRequires: pkgconfig(libgda-sqlite-5.0)
38 BuildRequires: python-devel
39 BuildRequires: python-pygobject3-devel >= 2.29.0
40 BuildRequires: rpmbuild(find_lang) >= 1.23
41 BuildRequires: rpmbuild(macros) >= 1.311
42 BuildRequires: sphinx-pdg
43 BuildRequires: tar >= 1:1.22
45 Requires(post,postun): desktop-file-utils
46 Requires(post,postun): gtk-update-icon-cache
47 Requires(post,postun): hicolor-icon-theme
48 Requires(post,postun): scrollkeeper
49 Requires(post,postun): shared-mime-info
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.14.0
55 Requires: gtksourceviewmm3 >= 3.0.0
57 Requires: libepc >= 0.4.0
58 Requires: libgda5 >= 5.2.1
59 Requires: libgdamm5 >= 4.99.8
60 Requires: libxml++ >= 2.23.1
61 Requires: libxslt >= 1.1.17
62 Requires: python-modules
63 Requires: python-pygobject3 >= 2.29.0
64 Suggests: libgda5-provider-mysql >= 5.2.1
65 Suggests: libgda5-provider-postgres >= 5.2.1
66 Suggests: libgda5-provider-sqlite >= 5.2.1
67 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70 Glom is an easy-to-use database designer and user interface.
72 %description -l pl.UTF-8
73 Glom jest łatwym w użyciu programem do projektowania baz danych oraz
74 interfejsem użytkownika.
77 Summary: Header files for Glom library
78 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Glom
79 Group: Development/Libraries
80 Requires: %{name} = %{version}-%{release}
83 Header files for Glom library.
85 %description devel -l pl.UTF-8
86 Pliki nagłówkowe biblioteki Glom.
89 Summary: API documentation for Glom library and its Python binding
90 Summary(pl.UTF-8): Dokumentacja API biblioteki Glom i jej wiązań do Pythona
92 %if "%{_rpmversion}" >= "5"
97 API documentation for Glom library and its Python binding.
99 %description apidocs -l pl.UTF-8
100 Dokumentacja API biblioteki Glom i jej wiązań do Pythona.
103 Summary: Examples for Glom
104 Summary(pl.UTF-8): Przykłady dla Gloma
107 %description examples
110 %description examples -l pl.UTF-8
117 %{__gnome_doc_prepare}
121 %{__aclocal} -I macros
126 --disable-scrollkeeper \
127 --disable-silent-rules \
129 --disable-update-mime-database \
132 --with-postgres-utils=%{_bindir}
136 rm -rf $RPM_BUILD_ROOT
139 DESTDIR=$RPM_BUILD_ROOT
141 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
142 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
144 install -d $RPM_BUILD_ROOT%{_examplesdir}
145 cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
147 %find_lang %{name} --with-gnome --with-omf
150 rm -rf $RPM_BUILD_ROOT
154 %update_desktop_database_post
155 %update_mime_database
156 %update_icon_cache hicolor
157 %scrollkeeper_update_post
161 %update_desktop_database_postun
162 %update_mime_database
163 %update_icon_cache hicolor
164 %scrollkeeper_update_postun
166 %files -f %{name}.lang
167 %defattr(644,root,root,755)
168 %doc AUTHORS ChangeLog NEWS README TODO
169 %attr(755,root,root) %{_bindir}/glom
170 %attr(755,root,root) %{_bindir}/glom_export_po
171 %attr(755,root,root) %{_bindir}/glom_export_po_all
172 %attr(755,root,root) %{_bindir}/glom_import_po_all
173 %attr(755,root,root) %{_bindir}/glom_test_connection
174 %attr(755,root,root) %{_libdir}/libglom-1.26.so.*.*.*
175 %attr(755,root,root) %ghost %{_libdir}/libglom-1.26.so.0
176 %attr(755,root,root) %{py_sitedir}/glom_1_26.so
178 %{_datadir}/appdata/glom.appdata.xml
179 %{_datadir}/mime/packages/glom.xml
180 %{_desktopdir}/glom.desktop
181 %{_iconsdir}/hicolor/*/apps/glom.*
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/libglom-1.26.so
186 %{_includedir}/glom-1.26
187 %{_pkgconfigdir}/glom-1.26.pc
190 %defattr(644,root,root,755)
191 %{_docdir}/libglom-1.26
192 %{_docdir}/pyglom_1_26
193 %{_datadir}/devhelp/books/libglom-1.26
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_bindir}/glom_create_from_example
198 %{_examplesdir}/%{name}-%{version}