]> git.pld-linux.org Git - packages/glom.git/blame - glom.spec
- tabs in preamble
[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
22826afb 4Version: 1.2.2
0de2f69a 5Release: 2
7c214bde 6License: GPL v2
7Group: Applications
cd9b01bd 8Source0: http://ftp.gnome.org/pub/GNOME/sources/glom/1.2/%{name}-%{version}.tar.bz2
22826afb 9# Source0-md5: 7b5c56317dd8386b17a05e5bfbb6c119
7c214bde 10Patch0: %{name}-desktop.patch
feefd04f 11Patch1: %{name}-python25-64bit.patch
7c214bde 12URL: http://www.glom.org/
13BuildRequires: autoconf
14BuildRequires: automake
051643cb 15BuildRequires: bakery-devel >= 2.4.0
cd9b01bd 16BuildRequires: gnome-doc-utils >= 0.8.0
051643cb 17BuildRequires: gnome-vfsmm-devel >= 2.16.0
16071c1b 18BuildRequires: gtkmm-devel >= 2.10.5
7c214bde 19BuildRequires: intltool
20BuildRequires: iso-codes
21BuildRequires: libgdamm-devel >= 1.3.7
f4fccda7 22BuildRequires: libgnome-devel >= 2.16.0
051643cb 23BuildRequires: libgnomecanvasmm-devel >= 2.16.0
7c214bde 24BuildRequires: libtool
051643cb 25BuildRequires: libxslt-devel >= 1.1.17
26BuildRequires: python-gnome-extras-gda-devel >= 2.14.2-4
cd9b01bd 27BuildRequires: python-pygtk-devel >= 2:2.10.3
7c214bde 28Requires(post,postun): /sbin/ldconfig
29Requires(post,postun): gtk+2
16071c1b 30Requires(post,postun): hicolor-icon-theme
cd9b01bd 31Requires(post,postun): scrollkeeper
7c214bde 32Requires(post,postun): shared-mime-info
051643cb 33Requires: python-gnome-extras-gda >= 2.14.2-4
7c214bde 34%pyrequires_eq python-modules
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38Glom is an easy-to-use database designer and user interface.
39
34c48b30
JR
40%description -l pl.UTF-8
41Glom jest łatwym w użyciu programem do projektowania baz danych oraz
42interfejsem użytkownika.
7c214bde 43
44%prep
45%setup -q
46%patch0 -p1
feefd04f 47%patch1 -p1
7c214bde 48
49%build
051643cb 50%{__gnome_doc_prepare}
7c214bde 51%{__glib_gettextize}
52%{__intltoolize}
53%{__libtoolize}
7c214bde 54%{__aclocal} -I macros
55%{__autoheader}
56%{__autoconf}
57%{__automake}
58%configure \
051643cb 59 --disable-static \
cd9b01bd 60 --disable-update-mime-database \
61 --disable-scrollkeeper
7c214bde 62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67%{__make} install \
68 DESTDIR=$RPM_BUILD_ROOT
69
70rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
71rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.la
72rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
73
74%find_lang %{name} --with-gnome
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post
80/sbin/ldconfig
81%update_mime_database
82%update_icon_cache hicolor
cd9b01bd 83%scrollkeeper_update_post
7c214bde 84
85%postun
86/sbin/ldconfig
87%update_mime_database
88%update_icon_cache hicolor
cd9b01bd 89%scrollkeeper_update_postun
7c214bde 90
91%files -f %{name}.lang
92%defattr(644,root,root,755)
93%doc AUTHORS ChangeLog NEWS README TODO
94%attr(755,root,root) %{_bindir}/*
95%attr(755,root,root) %{_libdir}/libglom.so*
96%attr(755,root,root) %{py_sitedir}/glom.so
97%{_datadir}/%{name}
98%{_datadir}/mime/packages/*.xml
99%{_desktopdir}/*.desktop
100%{_iconsdir}/hicolor/*/apps/*
cd9b01bd 101%dir %{_omf_dest_dir}/%{name}
102%{_omf_dest_dir}/%{name}/glom-C.omf
103%lang(de) %{_omf_dest_dir}/%{name}/glom-de.omf
This page took 0.554684 seconds and 4 git commands to generate.