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)