Accepting request 638704 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/638704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/malaga-suomi?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2018-10-02 17:40:32 +00:00 committed by Git OBS Bridge
commit c819515f9a
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 27 07:46:21 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Use %license to install the license
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 19 13:35:29 UTC 2017 - bwiedemann@suse.com Mon Jun 19 13:35:29 UTC 2017 - bwiedemann@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package malaga-suomi # spec file for package malaga-suomi
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -22,9 +22,9 @@ Name: malaga-suomi
Version: 2.1 Version: 2.1
Release: 0 Release: 0
Summary: Description of Finnish Morphology Written in Malaga Summary: Description of Finnish Morphology Written in Malaga
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Text/Spell Group: Productivity/Text/Spell
Url: http://voikko.puimula.org/ URL: http://voikko.puimula.org/
Source: http://www.puimula.org/voikko-sources/%{_name}/%{_name}-%{version}.tar.gz Source: http://www.puimula.org/voikko-sources/%{_name}/%{_name}-%{version}.tar.gz
BuildRequires: foma BuildRequires: foma
BuildRequires: python3 BuildRequires: python3
@ -48,14 +48,14 @@ library.
%build %build
CFLAGS="%{optflags}" \ CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" \
make %{?_smp_mflags} vvfst EXTRA_LEX=vocabulary/erikoisalat/linux-distributions.lex SM_BUILDDATE="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}")" make %{?_smp_mflags} vvfst EXTRA_LEX=vocabulary/erikoisalat/linux-distributions.lex SM_BUILDDATE="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%{s})}")"
%install %install
make vvfst-install DESTDIR=%{buildroot}%{_datadir}/voikko make vvfst-install DESTDIR=%{buildroot}%{_datadir}/voikko
%files %files
%defattr(-,root,root) %license COPYING
%doc CONTRIBUTORS COPYING ChangeLog README README.fi %doc CONTRIBUTORS ChangeLog README README.fi
%dir %{_datadir}/voikko/ %dir %{_datadir}/voikko/
%{_datadir}/voikko/* %{_datadir}/voikko/*