From 7b1c4ebf435502439ef3ca6be55cfa593e593c64e1f2d670ef0052d41cdd74e8 Mon Sep 17 00:00:00 2001 From: Kyrill Detinov Date: Thu, 24 Nov 2011 18:24:11 +0000 Subject: [PATCH] spec clean up OBS-URL: https://build.opensuse.org/package/show/graphics/icoutils?expand=0&rev=5 --- icoutils.changes | 9 +++++++++ icoutils.spec | 24 +++++------------------- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/icoutils.changes b/icoutils.changes index ccb707a..66e83e2 100644 --- a/icoutils.changes +++ b/icoutils.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Nov 24 17:21:10 UTC 2011 - lazy.kent@opensuse.org + +- Corrected build dependencies (libpng12-compat-devel -> + libpng-devel). +- Corrected rpm group. +- Corrected License tag according to SPDX Standard. +- Spec clean up. + ------------------------------------------------------------------- Sun Jun 5 08:16:50 UTC 2011 - lazy.kent@opensuse.org diff --git a/icoutils.spec b/icoutils.spec index f39d542..61d5035 100644 --- a/icoutils.spec +++ b/icoutils.spec @@ -20,16 +20,12 @@ Name: icoutils Version: 0.29.1 Release: 3 -License: GPLv3+ +License: GPL-3.0+ Summary: Extracting and Converting Microsoft Icon and Cursor Files Url: http://www.nongnu.org/icoutils/ -Group: Productivity/Graphics/Other +Group: Productivity/Graphics/Convertors Source0: http://savannah.nongnu.org/download/icoutils/%{name}-%{version}.tar.bz2 -%if 0%{?suse_version} && 0%{?suse_version} >= 1130 -BuildRequires: libpng12-compat-devel -%else BuildRequires: libpng-devel -%endif BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,13 +35,6 @@ in Microsoft Windows icon and cursor files. These files usually have the extension .ico or .cur, but they can also be embedded in executables or libraries (.dll-files). - - -Authors: --------- - Frank Richter - Oskar Liljeblad - %prep %setup -q @@ -53,18 +42,15 @@ Authors: # Don't compile strange locales en@boldquot and en@quot. # Otherwise, remove '--disable-nls'. %configure --disable-nls -%__make %{?_smp_mflags} +make %{?_smp_mflags} %install -%makeinstall - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%make_install %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO -%doc %{_mandir}/man?/* %{_bindir}/* +%doc %{_mandir}/man?/* %changelog