]> git.pld-linux.org Git - packages/applnk.git/blob - applnk.spec
- category DiscBurning moved from Utility to AudioVideo
[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.5
5 Release:        16
6 License:        GPL
7 Group:          Base
8 Source0:        ftp://ftp.pld-linux.org/software/applnk/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e3d5d40cfd4ea6c891d4e337004e09f4
10 Source1:        %{name}-gnome-preferences.menu
11 Source2:        %{name}-gnome-settings.menu
12 Patch0:         %{name}-system.patch
13 Patch1:         %{name}-gnome.patch
14 Patch2:         %{name}-category.patch
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 Obsoletes:      gnome-menus
18 Obsoletes:      gnome-menus-filter
19 Provides:       xdg-menus
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         $RPM_BUILD_ROOT%{_desktopdir}/docklets
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         pixmapsdir=%{_pixmapsdir}
59
60 install %{SOURCE1} $RPM_BUILD_ROOT%{_xdgconfdir}/menus/preferences.menu
61 install %{SOURCE2} $RPM_BUILD_ROOT%{_xdgconfdir}/menus/settings.menu
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc ChangeLog NEWS 
69 %dir %{_desktopdir}/docklets
70 %dir %{_xdgconfdir}/menus
71 %dir %{_xdgconfdir}/menus/applications-merged
72 %{_xdgconfdir}/menus/*.menu
73 %{_xdgdatadir}
74 %{_pixmapsdir}/*
This page took 0.058129 seconds and 4 git commands to generate.