From 6124185692c4d634c9ce1a30eca06fb48daa58585891949da4e8e6cf4bae9ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 20 May 2015 08:39:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-share-linker?expand=0&rev=2 --- libreoffice-share-linker.spec | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/libreoffice-share-linker.spec b/libreoffice-share-linker.spec index c65fa93..07b2af6 100644 --- a/libreoffice-share-linker.spec +++ b/libreoffice-share-linker.spec @@ -15,29 +15,30 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: libreoffice-share-linker -Version: 1 -Release: 0 +Version: 1 +Release: 0 +Summary: Script to link/unlink files to libreoffice home License: MIT -Source0: link-to-ooo-home -Summary: Script to link/unlink files to libreoffice home -Url: http://www.opensuse.org/ -Group: Productivity/Office/Suite +Group: Productivity/Office/Suite +Url: http://www.opensuse.org/ +Source0: link-to-ooo-home BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description -Script that links and unlinks files from /usr/share to libreoffice +Script that links and unlinks files from %{_datadir} to libreoffice home as libreoffice layout is not set up for noarch packages otherwise. %prep -%setup -q +: %build +: %install -install -m 755 %{SOURCE0} %{buildroot}%{_bindir}/%{name} -make install DESTDIR=%{buildroot} %{?_smp_mflags} - +install -Dm 755 %{SOURCE0} %{buildroot}%{_bindir}/%{name} %files %defattr(-,root,root)