Accepting request 96847 from graphics

clean up spec

OBS-URL: https://build.opensuse.org/request/show/96847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icoutils?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2011-12-21 09:00:20 +00:00 committed by Git OBS Bridge
commit 142f2a230e
2 changed files with 14 additions and 19 deletions

View File

@ -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 Sun Jun 5 08:16:50 UTC 2011 - lazy.kent@opensuse.org

View File

@ -20,16 +20,12 @@
Name: icoutils Name: icoutils
Version: 0.29.1 Version: 0.29.1
Release: 3 Release: 3
License: GPLv3+ License: GPL-3.0+
Summary: Extracting and Converting Microsoft Icon and Cursor Files Summary: Extracting and Converting Microsoft Icon and Cursor Files
Url: http://www.nongnu.org/icoutils/ 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 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 BuildRequires: libpng-devel
%endif
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 extension .ico or .cur, but they can also be embedded in executables or
libraries (.dll-files). libraries (.dll-files).
Authors:
--------
Frank Richter <frank.richter@gmail.com>
Oskar Liljeblad <oskar@osk.mine.nu>
%prep %prep
%setup -q %setup -q
@ -53,18 +42,15 @@ Authors:
# Don't compile strange locales en@boldquot and en@quot. # Don't compile strange locales en@boldquot and en@quot.
# Otherwise, remove '--disable-nls'. # Otherwise, remove '--disable-nls'.
%configure --disable-nls %configure --disable-nls
%__make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%makeinstall %make_install
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%doc %{_mandir}/man?/*
%{_bindir}/* %{_bindir}/*
%doc %{_mandir}/man?/*
%changelog %changelog