From b98b2a2f69da9574692b08f4470fa84194e5b7d21f62ff1dabf35200562074f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 6 May 2019 09:46:23 +0000 Subject: [PATCH 1/2] - Fix building with new orc by skiping testsuite subfolder as we are not executing the tests anyway - Update URL - Adjust the Sources URL - Run spec-cleaner OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/schroedinger?expand=0&rev=18 --- schroedinger.changes | 9 +++++++++ schroedinger.spec | 29 ++++++++++++----------------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/schroedinger.changes b/schroedinger.changes index f2b59c9..44ff196 100644 --- a/schroedinger.changes +++ b/schroedinger.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon May 6 09:45:41 UTC 2019 - Tomáš Chvátal + +- Fix building with new orc by skiping testsuite subfolder as + we are not executing the tests anyway +- Update URL +- Adjust the Sources URL +- Run spec-cleaner + ------------------------------------------------------------------- Fri Feb 1 12:03:46 UTC 2013 - coolo@suse.com diff --git a/schroedinger.spec b/schroedinger.spec index 715a691..8875ea5 100644 --- a/schroedinger.spec +++ b/schroedinger.spec @@ -1,7 +1,7 @@ # # spec file for package schroedinger # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # 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) # 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/ # @@ -20,15 +20,15 @@ Name: schroedinger Version: 1.0.11 Release: 0 Summary: Library for decoding and encoding video in the Dirac format -License: GPL-2.0 and LGPL-2.0 and MPL-1.1 and MIT +License: GPL-2.0-only AND LGPL-2.0-only AND MPL-1.1 AND MIT Group: Productivity/Multimedia/Other -Url: http://schrodinger.sourceforge.net/ -Source: http://diracvideo.org/download/schroedinger/%{name}-%{version}.tar.gz +URL: http://schrodinger.sourceforge.net/schrodinger_faq.php +# DEAD: http://diracvideo.org/download/schroedinger/%{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: orc >= 0.4.16 -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %description The Schroedinger project implements portable libraries for the high @@ -79,36 +79,31 @@ and one for encoding. %prep %setup -q +sed -i -e 's:testsuite::g' Makefile.{am,in} %build %configure\ --disable-static -%{__make} %{?jobs:-j%jobs} docdir=%{_docdir}/%{name} +make %{?_smp_mflags} docdir=%{_docdir}/%{name} %install -%makeinstall docdir=%{_docdir}/%{name} +%make_install docdir=%{_docdir}/%{name} find %{buildroot} -type f -name "*.la" -delete -print -%clean -#rm -rf $RPM_BUILD_ROOT - %post -n libschroedinger-1_0-0 -p /sbin/ldconfig - %postun -n libschroedinger-1_0-0 -p /sbin/ldconfig %files -n libschroedinger-1_0-0 -%defattr(-,root,root) -%doc AUTHORS COPYING COPYING.MIT COPYING.GPL COPYING.LGPL COPYING.MPL +%license COPYING COPYING.MIT COPYING.GPL COPYING.LGPL COPYING.MPL +%doc AUTHORS %{_libdir}/*.so.0* %files devel -%defattr(-,root,root) %{_includedir}/schroedinger-1.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files doc -%defattr(-,root,root) %{_datadir}/gtk-doc/html/schroedinger %changelog From 8178780486c31aa7a573bb64861c6777c0adbc3b9b90f2c655699c76e6a9301b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 6 May 2019 09:54:56 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/schroedinger?expand=0&rev=19 --- schroedinger.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/schroedinger.spec b/schroedinger.spec index 8875ea5..63bb5d4 100644 --- a/schroedinger.spec +++ b/schroedinger.spec @@ -25,6 +25,7 @@ Group: Productivity/Multimedia/Other URL: http://schrodinger.sourceforge.net/schrodinger_faq.php # DEAD: http://diracvideo.org/download/schroedinger/%{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz +Source99: baselibs.conf BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: orc >= 0.4.16