]> git.pld-linux.org Git - packages/alacarte.git/blob - alacarte.spec
- package as, si lang files (languages added in glibc-2.5)
[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
53 %find_lang %{name} --with-gnome
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post
59 %update_icon_cache hicolor
60
61 %postun
62 %update_icon_cache hicolor
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog NEWS README
67 %attr(755,root,root) %{_bindir}/*
68 %dir %{py_sitedir}/Alacarte
69 %{py_sitedir}/Alacarte/*.py[co]
70 %{_datadir}/%{name}
71 %{_desktopdir}/*
72 %{_iconsdir}/hicolor/*/*/*
This page took 0.052282 seconds and 4 git commands to generate.