]> git.pld-linux.org Git - packages/applnk.git/blob - applnk.spec
- added xfce4 settings submenu
[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:        4
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 Source4:        package_xfce4.png
15 Patch0:         %{name}-xmllint.patch
16 Patch1:         %{name}-gnome-settings.patch
17 Patch2:         %{name}-xfce4-settings.patch
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _xdgconfdir     /etc/xdg
24 %define         _xdgdatadir     %{_datadir}/desktop-directories
25
26 %description
27 Base directories tree used for storing desktop/kdelnk menu entries.
28 Package also contains full description of this hierarchy (descriptions
29 with translations and menu order).
30
31 %description -l pl
32 Bazowa struktura katalogów u¿ywana do przechowywania plików
33 desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
34 zawiera pe³ny opis hierarchii katalogów (w plikach .directory) wraz z
35 t³umaczeniami tych opisów, a tak¿e opis sposobu uszeregowania
36 grup/elementów katalogów.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42 %patch2 -p1
43
44 %build
45 rm -f missing
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT \
57         pixmapsdir=%{_pixmapsdir}
58
59 install %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %dir %{_xdgconfdir}/menus
67 %dir %{_xdgconfdir}/menus/applications-merged
68 # should be marked as %%config
69 %{_xdgconfdir}/menus/applications.menu
70 %{_xdgdatadir}
71 %{_pixmapsdir}/*
This page took 0.084897 seconds and 4 git commands to generate.