From a0eefff4955fa78c708d6dd9fa82efb6d0fa2231292ba3fde1b4608431f15589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 5 Mar 2017 16:43:24 +0000 Subject: [PATCH] Accepting request 476958 from home:susnux:branches:devel:libraries:c_c++ Fixed license, some cleanup. OBS-URL: https://build.opensuse.org/request/show/476958 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ispell-slovak?expand=0&rev=6 --- ispell-sk-0.3.2.tar.bz2 | 3 --- ispell-sk-0.3.2.tar.gz | 3 +++ ispell-slovak.changes | 6 ++++++ ispell-slovak.spec | 44 ++++++++++++++++++----------------------- 4 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 ispell-sk-0.3.2.tar.bz2 create mode 100644 ispell-sk-0.3.2.tar.gz diff --git a/ispell-sk-0.3.2.tar.bz2 b/ispell-sk-0.3.2.tar.bz2 deleted file mode 100644 index 4487204..0000000 --- a/ispell-sk-0.3.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:219ec25442fa8b9c30e4ca3b48a467e175be0087dd243e96ed55aa4e1017c969 -size 665181 diff --git a/ispell-sk-0.3.2.tar.gz b/ispell-sk-0.3.2.tar.gz new file mode 100644 index 0000000..94876cc --- /dev/null +++ b/ispell-sk-0.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b8a3e57e2a783c2e09984823e78ef758ff2954b7c165cea3ba4680e4dca657b +size 618244 diff --git a/ispell-slovak.changes b/ispell-slovak.changes index 4ebb4b8..f17bd8a 100644 --- a/ispell-slovak.changes +++ b/ispell-slovak.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 4 21:21:33 UTC 2017 - rpm@fthiessen.de + +- Fixed license +- Use SourceURL + ------------------------------------------------------------------- Sat Feb 4 14:14:26 UTC 2012 - jengelh@medozas.de diff --git a/ispell-slovak.spec b/ispell-slovak.spec index 30785b0..58be9df 100644 --- a/ispell-slovak.spec +++ b/ispell-slovak.spec @@ -1,7 +1,7 @@ # # spec file for package ispell-slovak # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,53 +15,47 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: ispell-slovak -BuildRequires: ispell Version: 0.3.2 Release: 0 Summary: Slovak Ispell Dictionary -License: GPL-2.0+ +License: GPL-2.0+ or LGPL-2.1+ or MPL-1.1 Group: Productivity/Text/Spell Url: http://sk-spell.sk.cx/?id=4 -Source: ispell-sk-%{version}.tar.bz2 +Source: http://sk-spell.sk.cx/files/ispell-sk-%{version}.tar.gz Source1: slovak.el -Patch: ispell-sk-%{version}-installdir.patch +Patch0: ispell-sk-%{version}-installdir.patch Patch1: ispell-sk-%{version}-encoding_readme.patch.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: ispell_dictionary islovak -Obsoletes: islovak +BuildRequires: ispell +Provides: ispell_dictionary Provides: locale(ispell:sk) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description This packages includes a ready Slovak dictionary for ispell. A short usage description for ispell is given in -/usr/share/doc/packages/ispell/README of the packages ispell. The +%{_docdir}/ispell/README of the packages ispell. The sources for this dictionary are included in the package dicts. %prep -%setup -n ispell-sk-%{version} -# fix permissions -chmod 755 $RPM_BUILD_DIR/ispell-sk-%{version} -chmod 644 ./* -# -%patch +%setup -q -n ispell-sk-%{version} +%patch0 %patch1 -# -install -m 644 %{S:1} . %build -make +make %{?_smp_mflags} %install -make DESTDIR="$RPM_BUILD_ROOT" install -# -install -m 755 -d $RPM_BUILD_ROOT/usr/lib/ispell/emacs -install -m 644 slovak.el $RPM_BUILD_ROOT/usr/lib/ispell/emacs/ +%make_install + +install -Dm644 %{SOURCE1} %{buildroot}%{_prefix}/lib/ispell/emacs/slovak.el %files %defattr(-,root,root) -%doc AUTHORS CHANGELOG COPYING Copyright Descript.ion README* TODO -/usr/lib/ispell/slovak.* -/usr/lib/ispell/emacs/slovak.el +%doc AUTHORS CHANGELOG Copyright GPL LGPL MPL README* TODO +%{_prefix}/lib/ispell/slovak.* +%{_prefix}/lib/ispell/emacs/slovak.el %changelog