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