04b550ab00b61b2ad527f29c8ecf6fa59e9b53fb
[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.10
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:  1888f6206c5bf4659214ac1b7487efd6
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
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 # directory not provided by hicolor-icon-theme
63 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/hicolor/256x256
64
65 # not supported by glibc
66 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/io
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %update_icon_cache hicolor
75
76 %postun
77 %update_icon_cache hicolor
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README
82 %attr(755,root,root) %{_bindir}/alacarte
83 %dir %{py_sitescriptdir}/Alacarte
84 %{py_sitescriptdir}/Alacarte/*.py[co]
85 %{_datadir}/alacarte
86 %{_desktopdir}/alacarte.desktop
87 %{_iconsdir}/hicolor/*/*/*
This page took 0.059962 seconds and 2 git commands to generate.