]> git.pld-linux.org Git - packages/applnk.git/blame - applnk.spec
- rel 4
[packages/applnk.git] / applnk.spec
CommitLineData
d236a71b 1Summary: Applnk - base directories tree used for storing desktop/kdelnk menu entries
15c1384d 2Summary(pl.UTF-8): Applnk - bazowa struktura katalogów z opisami do plików desktop/kdelnk
b624d1a9 3Name: applnk
bb182342 4Version: 2.2.0
2996e4ed 5Release: 4
b624d1a9 6License: GPL
7Group: Base
c5d3cac9 8Source0: ftp://ep09.pld-linux.org/software/applnk/%{name}-%{version}.tar.bz2
bb182342 9# Source0-md5: 0af5401b44bb2c91c771da76c627b4f5
2996e4ed 10Patch0: xfce-4.10.patch
9bfbfa2a 11Provides: xdg-menus
f31d6a10 12Conflicts: xfdesktop < 4.8.0
9bfbfa2a 13BuildArch: noarch
b624d1a9 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
9f1a9ffa 16%define _xdgconfdir /etc/xdg
f1bff4a4 17%define _xdgdatadir %{_datadir}/desktop-directories
abbb901e 18
b624d1a9 19%description
20Base directories tree used for storing desktop/kdelnk menu entries.
2348dbf2 21Package also contains full description of this hierarchy (descriptions
22with translations and menu order).
b624d1a9 23
dad9fea5
JR
24%description -l pl.UTF-8
25Bazowa struktura katalogów używana do przechowywania plików
26desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
27zawiera pełny opis hierarchii katalogów (w plikach .directory) wraz z
28tłumaczeniami tych opisów, a także opis sposobu uszeregowania
29grup/elementów katalogów.
f31db450 30
b624d1a9 31%prep
32%setup -q
2996e4ed 33%patch0 -p1
b624d1a9 34
d236a71b 35%build
13cabf34 36%configure
d236a71b 37
b624d1a9 38%install
39rm -rf $RPM_BUILD_ROOT
be023779 40install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
b624d1a9 41
b888fe11 42%{__make} install \
36c39430 43 DESTDIR=$RPM_BUILD_ROOT
7a68e9ef 44
b624d1a9 45%clean
46rm -rf $RPM_BUILD_ROOT
47
8dc7c01b
JR
48%post
49%banner %{name} -e << EOF
50Use of applnk menu is now controlled via XDG_MENU_PREFIX
51environment variable. If you want to disable it, then edit
52/etc/env.d/XDG_MENU_PREFIX file.
53
54If your menus just disappeared you need to re-login!
55
ffd852cc 56KDE users may have to logout, remove /{var,}/tmp/kdecache-*
d4c2a3a1 57directories before logging in and run kbuildsycoca4.
8dc7c01b
JR
58EOF
59
b624d1a9 60%files
61%defattr(644,root,root,755)
143e1a06 62%doc ChangeLog NEWS
bb182342 63%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
9f1a9ffa 64%dir %{_xdgconfdir}/menus
5ce044ec 65%dir %{_xdgconfdir}/menus/applications-merged
1587bc14 66%{_xdgconfdir}/menus/*.menu
f1bff4a4 67%{_xdgdatadir}
77b63099 68%{_pixmapsdir}/*
This page took 0.051868 seconds and 4 git commands to generate.