commit 30ebd4c101bc460c6f8aa8149e1bc26e21c6bd0c
Author: Martin Gansser <mgansser(a)online.de>
Date: Thu Aug 4 16:45:41 2022 +0200
Update to new github address
.gitignore | 1 +
sources | 2 +-
vdr-skindesigner.spec | 23 ++++++++++++++++-------
3 files changed, 18 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ab3564d..44dae24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@ vdr-plugin-skindesigner-0.9.5.tar.bz2
/vdr-plugin-skindesigner-1.2.16.tar.bz2
/vdr-plugin-skindesigner-1.2.17.tar.bz2
/vdr-plugin-skindesigner-1.2.18.tar.bz2
+/skindesigner-1.2.18.tar.bz2
diff --git a/sources b/sources
index 239a490..7264c9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vdr-plugin-skindesigner-1.2.18.tar.bz2) =
685365b3e4c57f240c156ccfd942719734a722bf68a96f8bdad3c4b7190cd851f562315723d73937e38804a01217051e883b2389942093bfa20ab45216c82a36
+SHA512 (skindesigner-1.2.18.tar.bz2) =
e88f3c5cdc7db8ba726c5ee68e4c3fdbf3a6ed7eaddbd1d4e1e9d030b191828fcd52834b7262c4b2f7efd7e48a71f10400e7e66626b52fc1b7120495ed3d1ac6
diff --git a/vdr-skindesigner.spec b/vdr-skindesigner.spec
index 9a28bc8..9a2c544 100644
--- a/vdr-skindesigner.spec
+++ b/vdr-skindesigner.spec
@@ -1,14 +1,20 @@
%global sname skindesigner
# version we want build against
+%global vdr_version 2.4.0
+%if 0%{?fedora} >= 36
%global vdr_version 2.6.1
+%endif
+%if 0%{?fedora} == 35
+%global vdr_version 2.4.7
+%endif
Name: vdr-skindesigner
Version: 1.2.18
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A VDR skinning engine that displays XML based Skins
License: GPLv2+
-URL:
http://projects.vdr-developer.org/projects/plg-skindesigner
-Source0:
http://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git/snapsho...
+URL:
https://gitlab.com/kamel5/skindesigner
+Source0: %url/-/archive/%{version}/%{sname}-%{version}.tar.bz2
# Configuration files for plugin parameters. These are Fedora specific and not in
upstream.
Source1: %{name}.conf
@@ -59,7 +65,7 @@ Requires: vdr-devel >= 2.0.0
Development files for libskindesignerapi.
%prep
-%autosetup -p 1 -n vdr-plugin-skindesigner-%{version}
+%autosetup -p 1 -n skindesigner-%{version}
sed -i -e 's|PREFIX ?= /usr/local|PREFIX ?= /usr|g' libskindesignerapi/Makefile
sed -i -e 's|LIBDIR ?= $(PREFIX)/lib|LIBDIR ?= %{_libdir}/|g'
libskindesignerapi/Makefile
@@ -113,9 +119,9 @@ ln -s %{vdr_resdir}/plugins/skindesigner/dtd
%{buildroot}/%{vdr_configdir}/plugi
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{sname}.conf
%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
%dir %{vdr_resdir}/plugins/%{sname}/dtd
-%{vdr_resdir}/plugins/%{sname}/dtd
+%{vdr_resdir}/plugins/%{sname}/dtd/*
%dir %{vdr_resdir}/plugins/%{sname}/scripts
-%{vdr_resdir}/plugins/%{sname}/scripts
+%{vdr_resdir}/plugins/%{sname}/scripts/*
%{vdr_configdir}/plugins/skindesigner/dtd
# to be able to install skin repos without the data package
%dir %{vdr_resdir}/plugins/%{sname}/
@@ -123,7 +129,7 @@ ln -s %{vdr_resdir}/plugins/skindesigner/dtd
%{buildroot}/%{vdr_configdir}/plugi
%files data
%dir %{vdr_resdir}/plugins/%{sname}/skins
-%{vdr_resdir}/plugins/%{sname}/skins
+%{vdr_resdir}/plugins/%{sname}/skins/*
%{vdr_vardir}/themes/*.theme
%files -n libskindesignerapi
@@ -138,6 +144,9 @@ ln -s %{vdr_resdir}/plugins/skindesigner/dtd
%{buildroot}/%{vdr_configdir}/plugi
%{_includedir}/libskindesignerapi/*
%changelog
+* Thu Aug 04 2022 Martin Gansser <martinkg(a)fedoraproject.org> - 1.2.18-3
+- Update to new github address
+
* Mon Apr 11 2022 Sérgio Basto <sergio(a)serjux.com> - 1.2.18-2
- Rebuilt for VDR 2.6.1