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