]> git.pld-linux.org Git - packages/glom.git/blob - glom.spec
- updated Source0 md5
[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.13
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:  827eb7927b4b1e764772e40bf3a77cc4
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):  /sbin/ldconfig
35 Requires(post,postun):  desktop-file-utils
36 Requires(post,postun):  gtk+2
37 Requires(post,postun):  hicolor-icon-theme
38 Requires(post,postun):  scrollkeeper
39 Requires(post,postun):  shared-mime-info
40 Requires:       libgda3-provider-postgres
41 Requires:       python-gnome-extras-gda >= 2.19.1
42 %pyrequires_eq  python-modules
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 Glom is an easy-to-use database designer and user interface.
47
48 %description -l pl.UTF-8
49 Glom jest łatwym w użyciu programem do projektowania baz danych oraz
50 interfejsem użytkownika.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 %{__gnome_doc_prepare}
59 %{__glib_gettextize}
60 %{__intltoolize}
61 %{__libtoolize}
62 %{__aclocal} -I macros
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure \
67         --disable-static \
68         --disable-update-mime-database \
69         --disable-scrollkeeper \
70         --with-postgres-utils=%{_bindir}
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
80 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.la
81 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
82
83 %find_lang %{name} --with-gnome --with-omf
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post
89 /sbin/ldconfig
90 %update_desktop_database_post
91 %update_mime_database
92 %update_icon_cache hicolor
93 %scrollkeeper_update_post
94
95 %postun
96 /sbin/ldconfig
97 %update_desktop_database_postun
98 %update_mime_database
99 %update_icon_cache hicolor
100 %scrollkeeper_update_postun
101
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README TODO
105 %attr(755,root,root) %{_bindir}/glom
106 %attr(755,root,root) %{_libdir}/libglom.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/libglom.so.0
108 %attr(755,root,root) %{py_sitedir}/glom.so
109 %{_datadir}/%{name}
110 %{_datadir}/mime/packages/glom.xml
111 %{_desktopdir}/glom.desktop
112 %{_iconsdir}/hicolor/*/apps/*
This page took 0.067331 seconds and 4 git commands to generate.