]> git.pld-linux.org Git - packages/glom.git/blob - glom.spec
- updated to 1.28.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.28.0
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:  434fcdcb5b4ddf50364e235de247c81b
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.14.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.8
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 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.14.0
54 Requires:       gtksourceviewmm3 >= 3.0.0
55 Requires:       iso-codes
56 Requires:       libepc >= 0.4.0
57 Requires:       libgda5 >= 5.2.1
58 Requires:       libgdamm5 >= 4.99.8
59 Requires:       libxml++ >= 2.23.1
60 Requires:       libxslt >= 1.1.17
61 Requires:       python-modules
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 %if "%{_rpmversion}" >= "5"
92 BuildArch:      noarch
93 %endif
94
95 %description apidocs
96 API documentation for Glom library and its Python binding.
97
98 %description apidocs -l pl.UTF-8
99 Dokumentacja API biblioteki Glom i jej wiązań do Pythona.
100
101 %package examples
102 Summary:        Examples for Glom
103 Summary(pl.UTF-8):      Przykłady dla Gloma
104 Group:          Documentation
105
106 %description examples
107 Examples for Glom.
108
109 %description examples -l pl.UTF-8
110 Przykłady dla Gloma.
111
112 %prep
113 %setup -q
114
115 %build
116 %{__gnome_doc_prepare}
117 %{__gettextize}
118 %{__intltoolize}
119 %{__libtoolize}
120 %{__aclocal} -I macros
121 %{__autoconf}
122 %{__autoheader}
123 %{__automake}
124 %configure \
125         --disable-scrollkeeper \
126         --disable-silent-rules \
127         --disable-static \
128         --disable-update-mime-database \
129         --enable-mysql \
130         --enable-sqlite \
131         --with-postgres-utils=%{_bindir}
132 %{__make}
133
134 %install
135 rm -rf $RPM_BUILD_ROOT
136
137 %{__make} install \
138         DESTDIR=$RPM_BUILD_ROOT
139
140 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
141 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
142
143 install -d $RPM_BUILD_ROOT%{_examplesdir}
144 cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
145
146 %find_lang %{name} --with-gnome --with-omf
147
148 %clean
149 rm -rf $RPM_BUILD_ROOT
150
151 %post
152 /sbin/ldconfig
153 %update_desktop_database_post
154 %update_mime_database
155 %update_icon_cache hicolor
156 %scrollkeeper_update_post
157
158 %postun
159 /sbin/ldconfig
160 %update_desktop_database_postun
161 %update_mime_database
162 %update_icon_cache hicolor
163 %scrollkeeper_update_postun
164
165 %files -f %{name}.lang
166 %defattr(644,root,root,755)
167 %doc AUTHORS ChangeLog NEWS README TODO
168 %attr(755,root,root) %{_bindir}/glom
169 %attr(755,root,root) %{_bindir}/glom_export_po
170 %attr(755,root,root) %{_bindir}/glom_export_po_all
171 %attr(755,root,root) %{_bindir}/glom_import_po_all
172 %attr(755,root,root) %{_bindir}/glom_test_connection
173 %attr(755,root,root) %{_libdir}/libglom-1.26.so.*.*.*
174 %attr(755,root,root) %ghost %{_libdir}/libglom-1.26.so.0
175 %attr(755,root,root) %{py_sitedir}/glom_1_26.so
176 %{_datadir}/%{name}
177 %{_datadir}/appdata/glom.appdata.xml
178 %{_datadir}/mime/packages/glom.xml
179 %{_desktopdir}/glom.desktop
180 %{_iconsdir}/hicolor/*/apps/glom.*
181
182 %files devel
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/libglom-1.26.so
185 %{_includedir}/glom-1.26
186 %{_pkgconfigdir}/glom-1.26.pc
187
188 %files apidocs
189 %defattr(644,root,root,755)
190 %{_docdir}/libglom-1.26
191 %{_docdir}/pyglom_1_26
192 %{_datadir}/devhelp/books/libglom-1.26
193
194 %files examples
195 %defattr(644,root,root,755)
196 %attr(755,root,root) %{_bindir}/glom_create_from_example
197 %{_examplesdir}/%{name}-%{version}
This page took 0.048915 seconds and 4 git commands to generate.