From b09ab6ec3a0f94d8bc7405e81a260105c197d528 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Apr 22 2017 00:08:09 +0000 Subject: Updated spec-file to recent guidelines Update Url and Source0 to point to Pagure Drop obsolete stuff Improve readability Clean trailing white-spaces --- diff --git a/comps-extras.spec b/comps-extras.spec index 8a3d473..f06993a 100644 --- a/comps-extras.spec +++ b/comps-extras.spec @@ -1,9 +1,8 @@ -Summary: Images for package groups -Name: comps-extras -Version: 23 -Release: 5%{?dist} -URL: http://git.fedorahosted.org/git/?p=comps-extras.git;a=summary -Source0: http://fedorahosted.org/releases/c/o/comps-extras/%{name}-%{version}.tar.gz +Name: comps-extras +Version: 23 +Release: 6%{?dist} +Summary: Images for package groups + # while GPL isn't normal for images, it is the case here # No version specified. # KDE logo is LGPLv2+ @@ -13,34 +12,42 @@ Source0: http://fedorahosted.org/releases/c/o/comps-extras/%{name}-%{version}.ta # Haskell logo is a variation on MIT/X11 # Sugar and Ruby logos are CC-BY-SA # See COPYING for more details -License: GPL+ and LGPLv2+ and GPLv2+ and GPLv3 and CC-BY-SA and MIT -Group: Applications/System -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch +License: GPL+ and LGPLv2+ and GPLv2+ and GPLv3 and CC-BY-SA and MIT +URL: https://pagure.io/%{name} +Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz + +BuildArch: noarch %description This package contains images for the components included in this distribution. + %prep -%setup -q +%autosetup -p 1 + %build # nothing to do + %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%make_install -%clean -rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc comps.dtd comps-cleanup.xsl -%dir %{_datadir}/pixmaps/comps -%{_datadir}/pixmaps/comps/* +%license COPYING +%{_datadir}/pixmaps/comps + %changelog +* Fri Apr 21 2017 Björn Esser - 23-6 +- Updated spec-file to recent guidelines +- Update Url and Source0 to point to Pagure +- Drop obsolete stuff +- Improve readability +- Clean trailing white-spaces + * Fri Feb 10 2017 Fedora Release Engineering - 23-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild @@ -82,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT * Thu Oct 23 2008 Bill Nottingham - 15-1 - revert back to non-echo icons - add icons for Haskell, Ruby - + * Wed Sep 24 2008 Bill Nottingham - 14-1 - make more echo-y @@ -142,7 +149,7 @@ rm -rf $RPM_BUILD_ROOT - copy comps icons for a few new groups * Tue May 27 2003 Jeremy Katz 9.0.3-1 -- getfullcomps.py can go away now that anaconda does dep resolution in +- getfullcomps.py can go away now that anaconda does dep resolution in realtime * Fri Apr 11 2003 Jeremy Katz 9.0.2-1 @@ -152,7 +159,7 @@ rm -rf $RPM_BUILD_ROOT - made getfullcomps.py importable * Tue Mar 4 2003 Jeremy Katz 9.0.1-1 -- add /usr/share/comps-extras/whichcd.py to find out which cd a given +- add /usr/share/comps-extras/whichcd.py to find out which cd a given package is on (#85343) * Tue Dec 17 2002 Jeremy Katz @@ -169,5 +176,3 @@ rm -rf $RPM_BUILD_ROOT * Tue Jul 23 2002 Jeremy Katz - Initial build. - -