]> git.pld-linux.org Git - packages/alacarte.git/blob - alacarte.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/alacarte.git] / alacarte.spec
1 Summary:        Menu editor for the GNOME desktop
2 Summary(pl):    Edytor menu dla GNOME
3 Name:           alacarte
4 Version:        0.10.1
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/alacarte/0.10/%{name}-%{version}.tar.bz2
9 # Source0-md5:  3e425ad3bbfe059699a9996419dc8422
10 URL:            http://www.realistanew.com/projects/alacarte/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.7
13 BuildRequires:  gettext-devel
14 BuildRequires:  gnome-menus-devel >= 2.16.0
15 BuildRequires:  intltool >= 0.35
16 BuildRequires:  pkgconfig >= 1:0.21
17 BuildRequires:  python-pygtk-devel >= 2:2.10.3
18 Requires(post,postun):  gtk+2 >= 2:2.10.6
19 Requires(post,postun):  hicolor-icon-theme
20 Requires:       gnome-menus-editor >= 2.16.0
21 %pyrequires_eq  python-modules
22 Requires:       python-pygtk-glade >= 2:2.10.3
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
27 that lets you change your menus, simply and quickly.
28
29 %description -l pl
30 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
31 GNOME pozwalaj±cym w szybki i ³atwy sposób dostosowaæ menu do w³asnych
32 potrzeb.
33
34 %prep
35 %setup -q
36
37 %build
38 %{__intltoolize}
39 %{__aclocal}
40 %{__automake}
41 %{__autoconf}
42 %configure \
43         PYTHON="/usr/bin/python"
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 rm -f $RPM_BUILD_ROOT%{py_sitedir}/Alacarte/*.py
53
54 %find_lang %{name} --with-gnome
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 %update_icon_cache hicolor
61
62 %postun
63 %update_icon_cache hicolor
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog NEWS README
68 %attr(755,root,root) %{_bindir}/*
69 %dir %{py_sitedir}/Alacarte
70 %{py_sitedir}/Alacarte/*.py[co]
71 %{_datadir}/%{name}
72 %{_desktopdir}/*.desktop
73 %{_iconsdir}/hicolor/*/*/*
This page took 0.068393 seconds and 4 git commands to generate.