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