]> git.pld-linux.org Git - packages/glom.git/blob - glom.spec
boost rebuild
[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:        11
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 BuildArch:      noarch
100
101 %description apidocs
102 API documentation for Glom library and its Python binding.
103
104 %description apidocs -l pl.UTF-8
105 Dokumentacja API biblioteki Glom i jej wiązań do Pythona.
106
107 %package examples
108 Summary:        Examples for Glom
109 Summary(pl.UTF-8):      Przykłady dla Gloma
110 Group:          Documentation
111
112 %description examples
113 Examples for Glom.
114
115 %description examples -l pl.UTF-8
116 Przykłady dla Gloma.
117
118 %prep
119 %setup -q
120 %patch0 -p1
121 %patch1 -p1
122
123 %build
124 %{__gettextize}
125 %{__intltoolize}
126 %{__libtoolize}
127 %{__aclocal} -I macros
128 %{__autoconf}
129 %{__autoheader}
130 %{__automake}
131 %configure \
132         PYTHON="%{__python3}" \
133         --disable-silent-rules \
134         --disable-static \
135         --disable-update-mime-database \
136         --enable-mysql \
137         --enable-sqlite \
138         --with-mysql-utils=%{_bindir} \
139         --with-postgres-utils=%{_bindir}
140 %{__make}
141
142 %install
143 rm -rf $RPM_BUILD_ROOT
144
145 %{__make} install \
146         DESTDIR=$RPM_BUILD_ROOT
147
148 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
149 %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/*.la
150
151 install -d $RPM_BUILD_ROOT%{_examplesdir}
152 cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
153
154 %find_lang %{name} --with-gnome
155
156 %clean
157 rm -rf $RPM_BUILD_ROOT
158
159 %post
160 /sbin/ldconfig
161 %update_desktop_database_post
162 %update_mime_database
163 %update_icon_cache hicolor
164
165 %postun
166 /sbin/ldconfig
167 %update_desktop_database_postun
168 %update_mime_database
169 %update_icon_cache hicolor
170
171 %files -f %{name}.lang
172 %defattr(644,root,root,755)
173 %doc AUTHORS ChangeLog NEWS README TODO
174 %attr(755,root,root) %{_bindir}/glom
175 %attr(755,root,root) %{_bindir}/glom_export_po
176 %attr(755,root,root) %{_bindir}/glom_export_po_all
177 %attr(755,root,root) %{_bindir}/glom_import_po_all
178 %attr(755,root,root) %{_bindir}/glom_test_connection
179 %attr(755,root,root) %{_libdir}/libglom-1.32.so.*.*.*
180 %attr(755,root,root) %ghost %{_libdir}/libglom-1.32.so.0
181 %attr(755,root,root) %{py3_sitedir}/glom_1_32.so
182 %{_datadir}/%{name}
183 %{_datadir}/appdata/glom.appdata.xml
184 %{_datadir}/mime/packages/glom.xml
185 %{_desktopdir}/glom.desktop
186 %{_iconsdir}/hicolor/*x*/apps/glom.png
187 %{_iconsdir}/hicolor/scalable/apps/glom.svg
188
189 %files devel
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_libdir}/libglom-1.32.so
192 %{_includedir}/glom-1.32
193 %{_pkgconfigdir}/glom-1.32.pc
194
195 %files apidocs
196 %defattr(644,root,root,755)
197 %{_docdir}/libglom-1.32
198 %{_docdir}/pyglom_1_32
199 %{_datadir}/devhelp/books/libglom-1.32
200
201 %files examples
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{_bindir}/glom_create_from_example
204 %{_examplesdir}/%{name}-%{version}
This page took 0.151842 seconds and 4 git commands to generate.