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