]> git.pld-linux.org Git - packages/alacarte.git/blob - alacarte.spec
d2c37d99faea7bc122b4cece8c2bf96aeec764ee
[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.6
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:  de6535f728a8000795753623c46e8378
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:  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.24.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.24.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 %build
45 %{__intltoolize}
46 %{__aclocal}
47 %{__automake}
48 %{__autoconf}
49 %configure \
50         PYTHON="/usr/bin/python"
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %py_postclean
60
61 # directory not provided by hicolor-icon-theme
62 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/hicolor/256x256
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.07072 seconds and 2 git commands to generate.