]> git.pld-linux.org Git - packages/alacarte.git/blob - alacarte.spec
- 0.10.0
[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.0
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:  646c9d5619d25e8d7676289d892bb761
10 URL:            http://www.realistanew.com/projects/alacarte/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1.7
13 BuildRequires:  gettext-devel
14 BuildRequires:  gnome-menus-devel >= 2.16.0
15 BuildRequires:  intltool >= 0.35
16 BuildRequires:  pkgconfig >= 0.21
17 BuildRequires:  python-pygtk-devel >= 2.9.6
18 Requires(post,postun):  gtk+2 >= 2.10.2
19 %pyrequires_eq  python-modules
20 Requires:       python-pygtk-glade >= 2.9.6
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
25 that lets you change your menus, simply and quickly.
26
27 %description -l pl
28 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
29 GNOME pozwalaj±cym w szybki i ³atwy sposób dostosowaæ menu do w³asnych
30 potrzeb.
31
32 %prep
33 %setup -q
34
35 %build
36 %{__intltoolize}
37 %{__aclocal}
38 %{__automake}
39 %{__autoconf}
40 %configure \
41         PYTHON="/usr/bin/python"
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 rm -f $RPM_BUILD_ROOT%{py_sitedir}/Alacarte/*.py
51
52 %find_lang %{name} --with-gnome
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 %update_icon_cache hicolor
59
60 %postun
61 %update_icon_cache hicolor
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README
66 %attr(755,root,root) %{_bindir}/*
67 %dir %{py_sitedir}/Alacarte
68 %{py_sitedir}/Alacarte/*.py[co]
69 %{_datadir}/%{name}
70 %{_desktopdir}/*
71 %{_iconsdir}/hicolor/*/*/*
This page took 0.056763 seconds and 4 git commands to generate.