]> git.pld-linux.org Git - packages/glom.git/blob - glom.spec
- updated to 1.28.5
[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.28.5
5 Release:        1
6 License:        GPL v2
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
44 BuildRequires:  xz
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
56 Requires:       iso-codes
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)
68
69 %description
70 Glom is an easy-to-use database designer and user interface.
71
72 %description -l pl.UTF-8
73 Glom jest łatwym w użyciu programem do projektowania baz danych oraz
74 interfejsem użytkownika.
75
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
92 %if "%{_rpmversion}" >= "5"
93 BuildArch:      noarch
94 %endif
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
113 %prep
114 %setup -q
115
116 %build
117 %{__gnome_doc_prepare}
118 %{__gettextize}
119 %{__intltoolize}
120 %{__libtoolize}
121 %{__aclocal} -I macros
122 %{__autoconf}
123 %{__autoheader}
124 %{__automake}
125 %configure \
126         --disable-scrollkeeper \
127         --disable-silent-rules \
128         --disable-static \
129         --disable-update-mime-database \
130         --enable-mysql \
131         --enable-sqlite \
132         --with-postgres-utils=%{_bindir}
133 %{__make}
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137
138 %{__make} install \
139         DESTDIR=$RPM_BUILD_ROOT
140
141 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
142 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
143
144 install -d $RPM_BUILD_ROOT%{_examplesdir}
145 cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
146
147 %find_lang %{name} --with-gnome --with-omf
148
149 %clean
150 rm -rf $RPM_BUILD_ROOT
151
152 %post
153 /sbin/ldconfig
154 %update_desktop_database_post
155 %update_mime_database
156 %update_icon_cache hicolor
157 %scrollkeeper_update_post
158
159 %postun
160 /sbin/ldconfig
161 %update_desktop_database_postun
162 %update_mime_database
163 %update_icon_cache hicolor
164 %scrollkeeper_update_postun
165
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
177 %{_datadir}/%{name}
178 %{_datadir}/appdata/glom.appdata.xml
179 %{_datadir}/mime/packages/glom.xml
180 %{_desktopdir}/glom.desktop
181 %{_iconsdir}/hicolor/*/apps/glom.*
182
183 %files devel
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
188
189 %files apidocs
190 %defattr(644,root,root,755)
191 %{_docdir}/libglom-1.26
192 %{_docdir}/pyglom_1_26
193 %{_datadir}/devhelp/books/libglom-1.26
194
195 %files examples
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_bindir}/glom_create_from_example
198 %{_examplesdir}/%{name}-%{version}
This page took 0.077659 seconds and 3 git commands to generate.