]> git.pld-linux.org Git - packages/glom.git/blob - glom.spec
- Requires(post,postun): gtk-update-icon-cache
[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.8.6
5 Release:        4
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/glom/1.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  36599a6909e40afb5bcf4c414a70c49b
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-postgres-utils.patch
12 URL:            http://www.glom.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  avahi-glib-devel
16 BuildRequires:  bakery-devel >= 2.6.0
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-doc-utils >= 0.10.0
19 BuildRequires:  goocanvasmm-devel >= 0.13.0
20 BuildRequires:  gtkmm-devel >= 2.10.5
21 BuildRequires:  gtksourceviewmm2-devel
22 BuildRequires:  intltool >= 0.36.0
23 BuildRequires:  iso-codes
24 BuildRequires:  libepc-devel >= 0.3.1
25 BuildRequires:  libgdamm3-devel
26 BuildRequires:  libtool
27 BuildRequires:  libxslt-devel >= 1.1.17
28 BuildRequires:  pkgconfig
29 BuildRequires:  python-gnome-extras-gda-devel >= 2.19.1
30 BuildRequires:  python-pygtk-devel >= 2:2.12.0
31 BuildRequires:  rpmbuild(find_lang) >= 1.23
32 BuildRequires:  rpmbuild(macros) >= 1.311
33 Requires(post,postun):  desktop-file-utils
34 Requires(post,postun):  gtk-update-icon-cache
35 Requires(post,postun):  hicolor-icon-theme
36 Requires(post,postun):  scrollkeeper
37 Requires(post,postun):  shared-mime-info
38 Requires:       libgda3-provider-postgres
39 Requires:       python-gnome-extras-gda >= 2.19.1
40 %pyrequires_eq  python-modules
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 Glom is an easy-to-use database designer and user interface.
45
46 %description -l pl.UTF-8
47 Glom jest łatwym w użyciu programem do projektowania baz danych oraz
48 interfejsem użytkownika.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 %build
56 %{__gnome_doc_prepare}
57 %{__glib_gettextize}
58 %{__intltoolize}
59 %{__libtoolize}
60 %{__aclocal} -I macros
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure \
65         --disable-static \
66         --disable-update-mime-database \
67         --disable-scrollkeeper \
68         --with-postgres-utils=%{_bindir}
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
78 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.la
79 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
80
81 %find_lang %{name} --with-gnome --with-omf
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post
87 /sbin/ldconfig
88 %update_desktop_database_post
89 %update_mime_database
90 %update_icon_cache hicolor
91 %scrollkeeper_update_post
92
93 %postun
94 /sbin/ldconfig
95 %update_desktop_database_postun
96 %update_mime_database
97 %update_icon_cache hicolor
98 %scrollkeeper_update_postun
99
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog NEWS README TODO
103 %attr(755,root,root) %{_bindir}/glom
104 %attr(755,root,root) %{_libdir}/libglom.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libglom.so.0
106 %attr(755,root,root) %{py_sitedir}/glom.so
107 %{_datadir}/%{name}
108 %{_datadir}/mime/packages/glom.xml
109 %{_desktopdir}/glom.desktop
110 %{_iconsdir}/hicolor/*/apps/*
This page took 0.035919 seconds and 4 git commands to generate.