]> git.pld-linux.org Git - packages/glom.git/blob - glom.spec
- updated to 1.32.0
[packages/glom.git] / glom.spec
1 Summary:        A user-friendly database environment
2 Summary(pl.UTF-8):      Przyjazne użytkownikowi środowisko bazodanowe
3 Name:           glom
4 Version:        1.32.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/glom/1.32/%{name}-%{version}.tar.xz
9 # Source0-md5:  194d2dec2254f48c49f518935302992f
10 Patch0:         %{name}-build.patch
11 Patch1:         %{name}-pc.patch
12 URL:            http://www.glom.org/
13 BuildRequires:  autoconf >= 2.63
14 BuildRequires:  automake >= 1:1.10
15 BuildRequires:  boost-devel
16 BuildRequires:  boost-python3-devel
17 BuildRequires:  evince-devel >= 3.0
18 BuildRequires:  gettext-tools >= 0.17
19 BuildRequires:  glibmm-devel >= 2.47.4
20 BuildRequires:  goocanvas2-devel >= 2.0.1
21 BuildRequires:  goocanvasmm2-devel >= 1.90.11
22 BuildRequires:  gtkmm3-devel >= 3.22.0
23 BuildRequires:  gtksourceviewmm3-devel >= 3.18.0
24 BuildRequires:  intltool >= 0.36.0
25 BuildRequires:  iso-codes
26 BuildRequires:  libarchive-devel >= 3.0
27 BuildRequires:  libepc-devel >= 0.4.0
28 BuildRequires:  libgda5-devel >= 5.2.9
29 BuildRequires:  libgdamm5-devel >= 4.99.10
30 BuildRequires:  libsigc++-devel >= 2.9.2
31 BuildRequires:  libstdc++-devel >= 6:5
32 BuildRequires:  libtool >= 2:2.2.0
33 BuildRequires:  libxml++-devel >= 3.0.0
34 BuildRequires:  libxslt-devel >= 1.1.17
35 BuildRequires:  mm-common >= 0.9.5
36 BuildRequires:  pkgconfig
37 BuildRequires:  pkgconfig(libgda-mysql-5.0)
38 BuildRequires:  pkgconfig(libgda-postgres-5.0)
39 BuildRequires:  pkgconfig(libgda-sqlite-5.0)
40 BuildRequires:  python3-devel >= 1:3.2
41 BuildRequires:  python3-pygobject3-devel >= 2.29.0
42 BuildRequires:  rpmbuild(find_lang) >= 1.23
43 BuildRequires:  rpmbuild(macros) >= 1.311
44 BuildRequires:  sphinx-pdg
45 BuildRequires:  tar >= 1:1.22
46 BuildRequires:  xz
47 Requires(post,postun):  desktop-file-utils
48 Requires(post,postun):  gtk-update-icon-cache
49 Requires(post,postun):  hicolor-icon-theme
50 Requires(post,postun):  shared-mime-info
51 Requires:       evince >= 3.0
52 Requires:       glibmm >= 2.47.4
53 Requires:       goocanvas2 >= 2.0.1
54 Requires:       goocanvasmm2 >= 1.90.11
55 Requires:       gtkmm3 >= 3.22.0
56 Requires:       gtksourceviewmm3 >= 3.18.0
57 Requires:       iso-codes
58 Requires:       libepc >= 0.4.0
59 Requires:       libgda5 >= 5.2.9
60 Requires:       libgdamm5 >= 4.99.10
61 Requires:       libsigc++ >= 2.9.2
62 Requires:       libxml++ >= 3.0.0
63 Requires:       libxslt >= 1.1.17
64 Requires:       python3-modules >= 1:3.2
65 Requires:       python3-pygobject3 >= 2.29.0
66 Suggests:       libgda5-provider-mysql >= 5.2.9
67 Suggests:       libgda5-provider-postgres >= 5.2.9
68 Suggests:       libgda5-provider-sqlite >= 5.2.9
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %description
72 Glom is an easy-to-use database designer and user interface.
73
74 %description -l pl.UTF-8
75 Glom jest łatwym w użyciu programem do projektowania baz danych oraz
76 interfejsem użytkownika.
77
78 %package devel
79 Summary:        Header files for Glom library
80 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Glom
81 Group:          Development/Libraries
82 Requires:       %{name} = %{version}-%{release}
83 Requires:       glibmm-devel >= 2.47.4
84 Requires:       libgdamm5-devel >= 4.99.10
85 Requires:       libstdc++-devel >= 6:5
86 Requires:       libxml++-devel >= 3.0.0
87 Requires:       libxslt-devel >= 1.1.17
88
89 %description devel
90 Header files for Glom library.
91
92 %description devel -l pl.UTF-8
93 Pliki nagłówkowe biblioteki Glom.
94
95 %package apidocs
96 Summary:        API documentation for Glom library and its Python binding
97 Summary(pl.UTF-8):      Dokumentacja API biblioteki Glom i jej wiązań do Pythona
98 Group:          Documentation
99 %if "%{_rpmversion}" >= "5"
100 BuildArch:      noarch
101 %endif
102
103 %description apidocs
104 API documentation for Glom library and its Python binding.
105
106 %description apidocs -l pl.UTF-8
107 Dokumentacja API biblioteki Glom i jej wiązań do Pythona.
108
109 %package examples
110 Summary:        Examples for Glom
111 Summary(pl.UTF-8):      Przykłady dla Gloma
112 Group:          Documentation
113
114 %description examples
115 Examples for Glom.
116
117 %description examples -l pl.UTF-8
118 Przykłady dla Gloma.
119
120 %prep
121 %setup -q
122 %patch0 -p1
123 %patch1 -p1
124
125 %build
126 %{__gettextize}
127 %{__intltoolize}
128 %{__libtoolize}
129 %{__aclocal} -I macros
130 %{__autoconf}
131 %{__autoheader}
132 %{__automake}
133 %configure \
134         PYTHON="%{__python3}" \
135         --disable-silent-rules \
136         --disable-static \
137         --disable-update-mime-database \
138         --enable-mysql \
139         --enable-sqlite \
140         --with-mysql-utils=%{_bindir} \
141         --with-postgres-utils=%{_bindir}
142 %{__make}
143
144 %install
145 rm -rf $RPM_BUILD_ROOT
146
147 %{__make} install \
148         DESTDIR=$RPM_BUILD_ROOT
149
150 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
151 %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/*.la
152
153 install -d $RPM_BUILD_ROOT%{_examplesdir}
154 cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
155
156 %find_lang %{name} --with-gnome
157
158 %clean
159 rm -rf $RPM_BUILD_ROOT
160
161 %post
162 /sbin/ldconfig
163 %update_desktop_database_post
164 %update_mime_database
165 %update_icon_cache hicolor
166
167 %postun
168 /sbin/ldconfig
169 %update_desktop_database_postun
170 %update_mime_database
171 %update_icon_cache hicolor
172
173 %files -f %{name}.lang
174 %defattr(644,root,root,755)
175 %doc AUTHORS ChangeLog NEWS README TODO
176 %attr(755,root,root) %{_bindir}/glom
177 %attr(755,root,root) %{_bindir}/glom_export_po
178 %attr(755,root,root) %{_bindir}/glom_export_po_all
179 %attr(755,root,root) %{_bindir}/glom_import_po_all
180 %attr(755,root,root) %{_bindir}/glom_test_connection
181 %attr(755,root,root) %{_libdir}/libglom-1.32.so.*.*.*
182 %attr(755,root,root) %ghost %{_libdir}/libglom-1.32.so.0
183 %attr(755,root,root) %{py3_sitedir}/glom_1_32.so
184 %{_datadir}/%{name}
185 %{_datadir}/appdata/glom.appdata.xml
186 %{_datadir}/mime/packages/glom.xml
187 %{_desktopdir}/glom.desktop
188 %{_iconsdir}/hicolor/*x*/apps/glom.png
189 %{_iconsdir}/hicolor/scalable/apps/glom.svg
190
191 %files devel
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/libglom-1.32.so
194 %{_includedir}/glom-1.32
195 %{_pkgconfigdir}/glom-1.32.pc
196
197 %files apidocs
198 %defattr(644,root,root,755)
199 %{_docdir}/libglom-1.32
200 %{_docdir}/pyglom_1_32
201 %{_datadir}/devhelp/books/libglom-1.32
202
203 %files examples
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_bindir}/glom_create_from_example
206 %{_examplesdir}/%{name}-%{version}
This page took 0.050678 seconds and 3 git commands to generate.