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