]> git.pld-linux.org Git - packages/applnk.git/blob - applnk.spec
- updated gnome-settings patch (s/GNOME settings/GNOME/); rel. 2.2
[packages/applnk.git] / applnk.spec
1 Summary:        Applnk - base directories tree used for storing desktop/kdelnk menu entries
2 Summary(pl):    Applnk - bazowa struktura katalogów z opisami do plików desktop/kdelnk
3 Name:           applnk
4 Version:        1.9.3
5 Release:        2.2
6 License:        GPL
7 Group:          Base
8 #Source0:       ftp://ftp.pld-linux.org/software/applnk/
9 Source0:        %{name}-%{version}.tar.bz2
10 # Source0-md5:  4ca390faf2287051251cca02d971bac1
11 Source1:        package_gnome_accessibility.png
12 Source2:        package_gnome_advanced.png
13 Source3:        package_gnome_system.png
14 Patch0:         %{name}-xmllint.patch
15 Patch1:         %{name}-gnome-settings.patch
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _xdgconfdir     /etc/xdg
22 %define         _xdgdatadir     %{_datadir}/desktop-directories
23
24 %description
25 Base directories tree used for storing desktop/kdelnk menu entries.
26 Package also contains full description of this hierarchy (descriptions
27 with translations and menu order).
28
29 %description -l pl
30 Bazowa struktura katalogów u¿ywana do przechowywania plików
31 desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
32 zawiera pe³ny opis hierarchii katalogów (w plikach .directory) wraz z
33 t³umaczeniami tych opisów, a tak¿e opis sposobu uszeregowania
34 grup/elementów katalogów.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40
41 %build
42 rm -f missing
43 %{__aclocal}
44 %{__autoconf}
45 %{__automake}
46 %configure
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         pixmapsdir=%{_pixmapsdir}
55
56 install %{SOURCE1} %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %dir %{_xdgconfdir}/menus
64 %dir %{_xdgconfdir}/menus/applications-merged
65 # should be marked as %%config
66 %{_xdgconfdir}/menus/applications.menu
67 %{_xdgdatadir}
68 %{_pixmapsdir}/*
This page took 0.072907 seconds and 3 git commands to generate.