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