]> git.pld-linux.org Git - packages/alacarte.git/blob - alacarte.spec
- updated to 0.12.1
[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.12.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/alacarte/0.12/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c6d77f7e5ee6129532e4bb1a35a07194
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.24.0
15 BuildRequires:  intltool >= 0.37.0
16 BuildRequires:  pkgconfig >= 1:0.21
17 BuildRequires:  python-pygtk-devel >= 2:2.12.0
18 BuildRequires:  rpm-pythonprov
19 BuildRequires:  rpmbuild(macros) >= 1.311
20 BuildRequires:  sed >= 4.0
21 Requires(post,postun):  gtk+2
22 Requires(post,postun):  hicolor-icon-theme >= 0.10-3
23 Requires:       gnome-menus-editor >= 2.24.0
24 Requires:       python-gnome-ui
25 Requires:       python-pygobject >= 2.16.0
26 Requires:       python-pygtk-glade >= 2:2.12.0
27 # for help
28 Suggests:       gnome-user-docs >= 2.24.0
29 # sr@Latn vs. sr@latin
30 Conflicts:      glibc-misc < 6:2.7
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
35 that lets you change your menus, simply and quickly.
36
37 %description -l pl.UTF-8
38 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
39 GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych
40 potrzeb.
41
42 %prep
43 %setup -q
44
45 %build
46 %{__intltoolize}
47 %{__aclocal}
48 %{__automake}
49 %{__autoconf}
50 %configure \
51         PYTHON="/usr/bin/python"
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %py_postclean
61
62 # not supported by glibc
63 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/io
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_icon_cache hicolor
72
73 %postun
74 %update_icon_cache hicolor
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README
79 %attr(755,root,root) %{_bindir}/alacarte
80 %dir %{py_sitescriptdir}/Alacarte
81 %{py_sitescriptdir}/Alacarte/*.py[co]
82 %{_datadir}/alacarte
83 %{_desktopdir}/alacarte.desktop
84 %{_iconsdir}/hicolor/*/*/*
This page took 0.076875 seconds and 4 git commands to generate.