Accepting request 701038 from multimedia:libs

- 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/request/show/701038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/schroedinger?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2019-05-07 21:12:33 +00:00 committed by Git OBS Bridge
commit 3b689b36b1
2 changed files with 22 additions and 17 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon May 6 09:45:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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

View File

@ -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,16 @@ 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
Source99: baselibs.conf
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 +80,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