From 37bb7c3aa333b73869cfd0ad014e7365c1454714fa2c6f0a43bc14bccc884325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 1 Mar 2018 07:46:58 +0000 Subject: [PATCH] Accepting request 581410 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581410 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libopenraw?expand=0&rev=30 --- libopenraw.changes | 5 +++++ libopenraw.spec | 32 ++++++++++++++------------------ 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/libopenraw.changes b/libopenraw.changes index 225be60..67432be 100644 --- a/libopenraw.changes +++ b/libopenraw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:35:49 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Wed Feb 1 13:06:41 UTC 2017 - adam.majer@suse.de diff --git a/libopenraw.spec b/libopenraw.spec index adf8d3e..dbb0691 100644 --- a/libopenraw.spec +++ b/libopenraw.spec @@ -1,7 +1,7 @@ # # spec file for package libopenraw # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,9 +20,9 @@ Name: libopenraw Version: 0.0.9 Release: 0 Summary: A library to decode digital camera RAW files -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: http://libopenraw.freedesktop.org/ +URL: http://libopenraw.freedesktop.org/ Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 Source1: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring @@ -32,19 +32,19 @@ Patch2: libopenraw-orf-thumbnail.patch Patch3: openraw-noansiflag.patch BuildRequires: autoconf BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libjpeg-devel +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.21 +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libxml-2.0) %if 0%{?suse_version} > 1325 BuildRequires: libboost_test-devel %else BuildRequires: boost-devel >= 1.31.1 %endif -BuildRequires: gcc-c++ -BuildRequires: libjpeg-devel -BuildRequires: libtool -BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.21 -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(libcurl) -BuildRequires: pkgconfig(libxml-2.0) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libopenraw is a library that aim at decoding digital camera RAW files. @@ -91,16 +91,14 @@ export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" make V=1 %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print %check make %{?_smp_mflags} check %post -n libopenraw1 -p /sbin/ldconfig - %postun -n libopenraw1 -p /sbin/ldconfig - %post -n gdk-pixbuf-loader-libopenraw %{gdk_pixbuf_loader_post} @@ -108,16 +106,14 @@ make %{?_smp_mflags} check %{gdk_pixbuf_loader_postun} %files -n libopenraw1 -%defattr(-,root,root) -%doc README TODO COPYING ChangeLog +%license COPYING +%doc README TODO ChangeLog %{_libdir}/*.so.* %files -n gdk-pixbuf-loader-libopenraw -%defattr(-,root,root) %{_libdir}/gdk-pixbuf-2.0/*/loaders/libopenraw_pixbuf.so %files -n libopenraw-devel -%defattr(-,root,root) %{_libdir}/*.so %dir %{_includedir}/libopenraw-1.0 %{_includedir}/libopenraw-1.0/*