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