]> git.pld-linux.org Git - packages/applnk.git/blobdiff - applnk.spec
- 1.9.0
[packages/applnk.git] / applnk.spec
index 6c549fda915751de1fede0891d945beaeac18dce..680b000250c59f91cd43464f46cd517b53c0f442 100644 (file)
@@ -1,18 +1,19 @@
 Summary:       Applnk - base directories tree used for storing desktop/kdelnk menu entries
 Summary(pl):   Applnk - bazowa struktura katalogów z opisami do plików desktop/kdelnk
 Name:          applnk
-Version:       1.5.9
+Version:       1.9.0
 Release:       1
 License:       GPL
 Group:         Base
-Source0:       %{name}-%{version}.tar.bz2
+Source0:       http://www.kernel.pl/~adgor/pld/%{name}-%{version}.tar.bz2
+# Source0-md5: 15d1f7c032416e5c2a3915c40c240120
 BuildRequires: autoconf
 BuildRequires: automake
-Conflicts:     wmconfig < 0.9.10-5
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
+%define                _xdgconfdir     /etc/xdg
+%define                _xdgdatadir     %{_datadir}/desktop-directories
 
 %description
 Base directories tree used for storing desktop/kdelnk menu entries.
@@ -31,7 +32,7 @@ grup/element
 
 %build
 rm -f missing
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure
@@ -39,12 +40,20 @@ aclocal
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       pixmapsdir=%{_pixmapsdir}
+
+install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_applnkdir}
+%dir %{_xdgconfdir}/menus
+%dir %{_xdgconfdir}/menus/applications-merged
+# should be marked as %%config
+%{_xdgconfdir}/menus/applications.menu
+%{_xdgdatadir}
 %{_pixmapsdir}/*
This page took 0.221418 seconds and 4 git commands to generate.