]>
Commit | Line | Data |
---|---|---|
1 | Summary: Applnk - base directories tree used for storing desktop/kdelnk menu entries | |
2 | Summary(pl.UTF-8): Applnk - bazowa struktura katalogów z opisami do plików desktop/kdelnk | |
3 | Name: applnk | |
4 | Version: 1.9.6 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Base | |
8 | Source0: ftp://ep09.pld-linux.org/software/applnk/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: bc7228fc59c908a6477046a3c646efa8 | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | Obsoletes: gnome-menus | |
13 | Obsoletes: gnome-menus-filter | |
14 | Provides: xdg-menus | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _xdgconfdir /etc/xdg | |
19 | %define _xdgdatadir %{_datadir}/desktop-directories | |
20 | ||
21 | %description | |
22 | Base directories tree used for storing desktop/kdelnk menu entries. | |
23 | Package also contains full description of this hierarchy (descriptions | |
24 | with translations and menu order). | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Bazowa struktura katalogów używana do przechowywania plików | |
28 | desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet | |
29 | zawiera pełny opis hierarchii katalogów (w plikach .directory) wraz z | |
30 | tłumaczeniami tych opisów, a także opis sposobu uszeregowania | |
31 | grup/elementów katalogów. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | rm -f missing | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__automake} | |
41 | %configure | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc ChangeLog NEWS | |
56 | %dir %{_xdgconfdir}/menus | |
57 | %dir %{_xdgconfdir}/menus/applications-merged | |
58 | %{_xdgconfdir}/menus/*.menu | |
59 | %{_xdgdatadir} | |
60 | %{_pixmapsdir}/* |