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