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