- sr@Latn -> sr@latin, rel. 2
[packages/alacarte.git] / alacarte.spec
CommitLineData
5dee4380 1Summary: Menu editor for the GNOME desktop
8e1f6b07 2Summary(pl.UTF-8): Edytor menu dla GNOME
5dee4380 3Name: alacarte
716046c3 4Version: 0.11.3
d9bad4ba 5Release: 2
5dee4380 6License: GPL v2
7Group: X11/Applications
eb533893 8Source0: http://ftp.gnome.org/pub/gnome/sources/alacarte/0.11/%{name}-%{version}.tar.bz2
716046c3 9# Source0-md5: 5ca9f07e839f64b7fcefc84cfb05aa17
5dee4380 10URL: http://www.realistanew.com/projects/alacarte/
11BuildRequires: autoconf >= 2.53
9001d573 12BuildRequires: automake >= 1:1.7
5dee4380 13BuildRequires: gettext-devel
eb533893 14BuildRequires: gnome-menus-devel >= 2.16.1
e930c8f8 15BuildRequires: intltool >= 0.35.0
9001d573 16BuildRequires: pkgconfig >= 1:0.21
5dcb262a 17BuildRequires: python-pygtk-devel >= 2:2.10.3
eb533893 18BuildRequires: rpmbuild(macros) >= 1.311
716046c3 19Requires(post,postun): gtk+2
9001d573 20Requires(post,postun): hicolor-icon-theme
eb533893 21Requires: gnome-menus-editor >= 2.16.1
9241339e 22Requires: python-gnome-ui
5dee4380 23%pyrequires_eq python-modules
5dcb262a 24Requires: python-pygtk-glade >= 2:2.10.3
d9bad4ba 25# sr@Latn vs. sr@latin
26Conflicts: glibc-misc < 6:2.7
5dee4380 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Alacarte is a simple freedesktop.org compliant menu editor for GNOME
31that lets you change your menus, simply and quickly.
32
b4d151e7 33%description -l pl.UTF-8
5dee4380 34Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
b4d151e7 35GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych
5dee4380 36potrzeb.
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
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56rm -f $RPM_BUILD_ROOT%{py_sitedir}/Alacarte/*.py
57
d9bad4ba 58[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
59 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
5dee4380 60%find_lang %{name} --with-gnome
61
62%clean
63rm -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}
5aa4c48f 78%{_desktopdir}/*.desktop
5dee4380 79%{_iconsdir}/hicolor/*/*/*
This page took 0.114618 seconds and 4 git commands to generate.