]> git.pld-linux.org Git - packages/alacarte.git/blob - alacarte.spec
- 0.10.1
[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:        1
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 %pyrequires_eq  python-modules
21 Requires:       python-pygtk-glade >= 2:2.10.3
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
26 that lets you change your menus, simply and quickly.
27
28 %description -l pl
29 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
30 GNOME pozwalaj±cym w szybki i ³atwy sposób dostosowaæ menu do w³asnych
31 potrzeb.
32
33 %prep
34 %setup -q
35
36 %build
37 %{__intltoolize}
38 %{__aclocal}
39 %{__automake}
40 %{__autoconf}
41 %configure \
42         PYTHON="/usr/bin/python"
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 rm -f $RPM_BUILD_ROOT%{py_sitedir}/Alacarte/*.py
52 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{as,si}
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}/*
73 %{_iconsdir}/hicolor/*/*/*
This page took 0.067829 seconds and 4 git commands to generate.