]> git.pld-linux.org Git - packages/applnk.git/blobdiff - applnk.spec
- rel 2
[packages/applnk.git] / applnk.spec
index 926376dbf93138fec3678a1857e5ab740ea971c7..fecb31ce10933f375f81cb80db9041b6b162d9c1 100644 (file)
@@ -1,20 +1,15 @@
 Summary:       Applnk - base directories tree used for storing desktop/kdelnk menu entries
 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
+Summary(pl.UTF-8):     Applnk - bazowa struktura katalogów z opisami do plików desktop/kdelnk
 Name:          applnk
 Name:          applnk
-Version:       1.9.5
-Release:       13
+Version:       2.2.0
+Release:       2
 License:       GPL
 Group:         Base
 License:       GPL
 Group:         Base
-Source0:       ftp://ftp.pld-linux.org/software/applnk/%{name}-%{version}.tar.bz2
-# Source0-md5: e3d5d40cfd4ea6c891d4e337004e09f4
-Source1:       %{name}-gnome-preferences.menu
-Patch0:                %{name}-system.patch
-Patch1:                %{name}-gnome.patch
-BuildRequires: autoconf
-BuildRequires: automake
+Source0:       ftp://ep09.pld-linux.org/software/applnk/%{name}-%{version}.tar.bz2
+# Source0-md5: 0af5401b44bb2c91c771da76c627b4f5
+Provides:      xdg-menus
+Conflicts:     xfdesktop < 4.8.0
 BuildArch:     noarch
 BuildArch:     noarch
-Obsoletes:     gnome-menus
-Obsoletes:     gnome-menus-filter
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _xdgconfdir     /etc/xdg
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _xdgconfdir     /etc/xdg
@@ -25,45 +20,45 @@ Base directories tree used for storing desktop/kdelnk menu entries.
 Package also contains full description of this hierarchy (descriptions
 with translations and menu order).
 
 Package also contains full description of this hierarchy (descriptions
 with translations and menu order).
 
-%description -l pl
-Bazowa struktura katalogów u¿ywana do przechowywania plików
-desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
-zawiera pe³ny opis hierarchii katalogów (w plikach .directory) wraz z
-t³umaczeniami tych opisów, a tak¿e opis sposobu uszeregowania
-grup/elementów katalogów.
+%description -l pl.UTF-8
+Bazowa struktura katalogów używana do przechowywania plików
+desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
+zawiera pełny opis hierarchii katalogów (w plikach .directory) wraz z
+tłumaczeniami tych opisów, a także opis sposobu uszeregowania
+grup/elementów katalogów.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
 
 %build
-rm -f missing
-%{__aclocal}
-%{__autoconf}
-%{__automake}
 %configure
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %configure
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged \
-       $RPM_BUILD_ROOT%{_desktopdir}/docklets
+install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
 
 %{__make} install \
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       pixmapsdir=%{_pixmapsdir}
-
-cp %{SOURCE1} $RPM_BUILD_ROOT%{_xdgconfdir}/menus/preferences.menu
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%banner %{name} -e << EOF
+Use of applnk menu is now controlled via XDG_MENU_PREFIX
+environment variable.  If you want to disable it, then edit
+/etc/env.d/XDG_MENU_PREFIX file.
+
+If your menus just disappeared you need to re-login!
+
+EOF
+
 %files
 %defattr(644,root,root,755)
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog NEWS 
-%dir %{_desktopdir}/docklets
+%doc ChangeLog NEWS
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
 %dir %{_xdgconfdir}/menus
 %dir %{_xdgconfdir}/menus/applications-merged
 %dir %{_xdgconfdir}/menus
 %dir %{_xdgconfdir}/menus/applications-merged
-%config(noreplace) %verify(not md5 mtime size) %{_xdgconfdir}/menus/*.menu
+%{_xdgconfdir}/menus/*.menu
 %{_xdgdatadir}
 %{_pixmapsdir}/*
 %{_xdgdatadir}
 %{_pixmapsdir}/*
This page took 0.063492 seconds and 4 git commands to generate.