SHA256
1
0
forked from pool/finalcut

Accepting request 1088440 from devel:libraries:c_c++

- Release (version 0.9.0)

OBS-URL: https://build.opensuse.org/request/show/1088440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/finalcut?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2023-05-23 12:54:19 +00:00 committed by Git OBS Bridge
commit f64b50e0fa
4 changed files with 17 additions and 9 deletions

View File

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

3
finalcut-0.9.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 21 18:50:29 CEST 2023 - Markus Gans <guru.mail@muenster.de>
- Release (version 0.9.0)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 31 17:09:26 UTC 2021 - Markus Gans <guru.mail@muenster.de> Sun Oct 31 17:09:26 UTC 2021 - Markus Gans <guru.mail@muenster.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package finalcut # spec file for package finalcut
# #
# Copyright (c) 2020 by Markus Gans # Copyright (c) 2023 by Markus Gans
# #
# 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
@ -17,7 +17,7 @@
%define sover 0 %define sover 0
Name: finalcut Name: finalcut
Version: 0.8.0 Version: 0.9.0
Release: 0 Release: 0
Summary: Console widget library Summary: Console widget library
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
@ -114,7 +114,7 @@ Special X11 bitmap font used by FINAL CUT to display graphic objects.
%build %build
autoreconf -vif autoreconf -vif
export CPPFLAGS="%{optflags} -Wall -Wextra -Wpedantic" export CPPFLAGS="%{optflags} -Wall -Wextra -Wpedantic -flto"
%ifnarch %ix86 x86_64 %ifnarch %ix86 x86_64
export CPPFLAGS="$CPPFLAGS -Wno-error=unused-parameter" export CPPFLAGS="$CPPFLAGS -Wno-error=unused-parameter"
%endif %endif
@ -142,7 +142,7 @@ cp -p examples/Makefile.gcc %{buildroot}%{_libdir}/%{name}/examples
cp -p final/font/40-finalcut-newfont.conf %{buildroot}/usr/share/fontconfig/conf.avail cp -p final/font/40-finalcut-newfont.conf %{buildroot}/usr/share/fontconfig/conf.avail
ln -s /usr/share/fontconfig/conf.avail/40-finalcut-newfont.conf %{buildroot}/etc/fonts/conf.d/40-finalcut-newfont.conf ln -s /usr/share/fontconfig/conf.avail/40-finalcut-newfont.conf %{buildroot}/etc/fonts/conf.d/40-finalcut-newfont.conf
rm -f %{buildroot}%{_libdir}/libfinal.la rm -f %{buildroot}%{_libdir}/libfinal.la
rm %{buildroot}%{_docdir}/%{name}/ChangeLog %{buildroot}%{_docdir}/%{name}/COPYING.LESSER rm %{buildroot}%{_docdir}/%{name}/ChangeLog
# Add config for X font path # Add config for X font path
mkdir -p %{buildroot}%{_datadir}/X11/xorg.conf.d mkdir -p %{buildroot}%{_datadir}/X11/xorg.conf.d
cat <<EOF > %{buildroot}%{_datadir}/X11/xorg.conf.d/80-finalcut-bitmap-fonts.conf cat <<EOF > %{buildroot}%{_datadir}/X11/xorg.conf.d/80-finalcut-bitmap-fonts.conf
@ -155,6 +155,9 @@ for i in .fonts-config-timestamp encodings.dir fonts.dir fonts.scale; do
> %{buildroot}%{_miscfontsdir}/finalcut/$i > %{buildroot}%{_miscfontsdir}/finalcut/$i
done done
%clean
%{__rm} -rf %{buildroot}
%post -n libfinal%{sover} -p /sbin/ldconfig %post -n libfinal%{sover} -p /sbin/ldconfig
%postun -n libfinal%{sover} -p /sbin/ldconfig %postun -n libfinal%{sover} -p /sbin/ldconfig
@ -162,9 +165,9 @@ done
%files -n libfinal-devel %files -n libfinal-devel
%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1500 %if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1500
%license COPYING.LESSER %license LICENSE
%else %else
%doc COPYING.LESSER %doc LICENSE
%endif %endif
%doc ChangeLog README.md %doc ChangeLog README.md
%exclude %{_docdir}/%{name}/examples %exclude %{_docdir}/%{name}/examples