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
This commit is contained in:
Tomáš Chvátal 2017-03-05 16:43:24 +00:00 committed by Git OBS Bridge
parent 0933784ddc
commit a0eefff495
4 changed files with 28 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:219ec25442fa8b9c30e4ca3b48a467e175be0087dd243e96ed55aa4e1017c969
size 665181

3
ispell-sk-0.3.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b8a3e57e2a783c2e09984823e78ef758ff2954b7c165cea3ba4680e4dca657b
size 618244

View File

@ -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

View File

@ -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