Accepting request 1176182 from home:dimstar:Factory

- Change package to use obs_scm source service. Upstream now longer
  publishes xz tarballs.
- Add libtool BuildRquires and call autoreconf in prep: git source
  trees are not bootstrapped.

The build fail observed in Factory is unrelated to sile, but is actually
a bug in lua-vstruct. Fix for that has also been submitted as
https://build.opensuse.org/request/show/1176181

OBS-URL: https://build.opensuse.org/request/show/1176182
OBS-URL: https://build.opensuse.org/package/show/Publishing/sile?expand=0&rev=38
This commit is contained in:
Gordon Leung 2024-05-23 16:54:10 +00:00 committed by Git OBS Bridge
parent db285e702b
commit 4330de5486
6 changed files with 36 additions and 11 deletions

View File

@ -1,7 +1,19 @@
<?xml version="1.0"?>
<services>
<service mode="manual" name="download_url">
<param name="protocol">https</param>
<param name="host">github.com</param>
<param name="path">/sile-typesetter/sile/releases/download/v0.14.17/sile-0.14.17.zip</param>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/sile-typesetter/sile.git</param>
<param name="revision">v0.14.17</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
sile-0.14.17.obscpio Normal file
View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu May 23 09:56:22 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Change package to use obs_scm source service. Upstream now longer
publishes xz tarballs.
- Add libtool BuildRquires and call autoreconf in prep: git source
trees are not bootstrapped.
-------------------------------------------------------------------
Wed Feb 7 21:13:13 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>

4
sile.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: sile
version: 0.14.17
mtime: 1707331766
commit: 4276c710386866f7c2eff85c9f3fc1825be5636a

View File

@ -24,7 +24,7 @@ Summary: Simons Improved Layout Engine
Group: Productivity/Publishing
License: MIT
URL: https://sile-typesetter.org/
Source0: https://github.com/sile-typesetter/sile/releases/download/v0.14.17/sile-0.14.17.zip
Source0: sile-0.14.17.tar.zst
Source1: sile-rpmlintrc
Source2: LICENSE
@ -73,7 +73,7 @@ BuildRequires: sil-gentium-fonts
%endif
BuildRequires: automake
BuildRequires: fontconfig-devel
BuildRequires: unzip
BuildRequires: libtool
Requires: fontconfig
BuildRequires: freetype2-devel
Requires: freetype2
@ -127,11 +127,12 @@ A PDF library extracted from TeX's dvipdfmx. Used in software such as SILE.
This package contains the development files for libtexpdf.
%prep
cp %{SOURCE0} .
unzip sile-%{version}.zip
%autosetup -p1
cp %{SOURCE2} .
%build
autoreconf -fiv
%configure --disable-static --with-system-luarocks
%make_build all