- Update to version 0.9.18+git20170507.07bb944:

* Switch to git snapshot to ensure license to be correctly set
  * Install COPYING

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/foma?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal 2017-05-17 09:17:56 +00:00 committed by Git OBS Bridge
parent e7b04f42cd
commit 10070636c2
5 changed files with 30 additions and 6 deletions

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/mhulden/foma.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">foma</param>
<param name="versionformat">0.9.18+git%cd.%h</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dbdd391a45d3733f7515f1ab4d8a62a96ce5ff8c57926d76fc186e4d5a0167e
size 135360

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 17 09:13:27 UTC 2017 - tchvatal@suse.com
- Update to version 0.9.18+git20170507.07bb944:
* Switch to git snapshot to ensure license to be correctly set
* Install COPYING
-------------------------------------------------------------------
Wed Apr 26 10:55:31 UTC 2017 - tchvatal@suse.com

View File

@ -18,13 +18,15 @@
%define libname libfoma0
Name: foma
Version: 0.9.18
Version: 0.9.18+git20170507.07bb944
Release: 0
Summary: Finite-state compiler and C library
License: Apache-2.0
Group: Productivity/Text/Utilities
Url: https://fomafst.github.io/
Source0: https://bitbucket.org/mhulden/foma/downloads/foma-%{version}.tar.gz
# Source must be from git tarball has different license than git, no idea why
Source0: foma-%{version}.tar.xz
BuildRequires: flex bison
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
@ -58,7 +60,7 @@ Requires: %{libname} = %{version}
Finite-state C library development files and headers for %{name}.
%prep
%setup -q
%setup -q -n %{name}-%{version}/%{name}
%build
make %{?_smp_mflags} \
@ -76,6 +78,7 @@ rm -rf %{buildroot}%{_libdir}/*.a
%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/cgflookup
%{_bindir}/flookup
%{_bindir}/foma