Add disttag, modernise spec file

This commit is contained in:
Peter Robinson 2012-04-27 12:05:08 +01:00
commit fc3bc88076

View file

@ -1,12 +1,11 @@
Summary: Recompression utilities for .PNG, .MNG and .ZIP files
Name: advancecomp
Version: 1.15
Release: 15
Release: 16%{?dist}
License: GPLv2+
Group: Applications/Emulators
URL: http://advancemame.sourceforge.net/
Source: http://downloads.sf.net/advancemame/advancecomp-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: zlib-devel
%description
@ -22,16 +21,11 @@ The main features are :
%build
%configure
%{__make} %{?_smp_mflags}
make %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%clean
%{__rm} -rf %{buildroot}
make install DESTDIR=%{buildroot}
%files
@ -42,6 +36,9 @@ The main features are :
%changelog
* Fri Apr 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.15-16
- Add disttag, modernise spec file
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-15
- Rebuilt for c++ ABI breakage