]> git.pld-linux.org Git - packages/applnk.git/blobdiff - applnk.spec
- 1.9.3, vfolders 0.8 enabled, only thing missing before 2.0.0 is ca 10 icons
[packages/applnk.git] / applnk.spec
index ef44ab9f54c70d62ed4a9f14918522c302e55c84..3f13d3acb659231145daac67be54298c12586a94 100644 (file)
@@ -1,30 +1,60 @@
-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
 Name:          applnk
-Version:       1.0
+Version:       1.9.3
 Release:       1
 License:       GPL
 Group:         Base
-Source0:       ftp://ftp.pld.org.pl/software/applnk/%{name}-%{version}.tar.gz
+#Source0:      ftp://ftp.pld-linux.org/software/applnk/
+Source0:       %{name}-%{version}.tar.bz2
+# Source0-md5: 4ca390faf2287051251cca02d971bac1
+BuildRequires: autoconf
+BuildRequires: automake
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _xdgconfdir     /etc/xdg
+%define                _xdgdatadir     %{_datadir}/desktop-directories
+
 %description
 Base directories tree used for storing desktop/kdelnk menu entries.
-Package contains also full description this hierary (descriprions wit
-translations and order menu entries data).
+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.
 
 %prep
 %setup -q
 
+%build
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}
 
-cp -ar .order * $RPM_BUILD_ROOT%{_applnkdir}
+%{__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.034262 seconds and 4 git commands to generate.