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