Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 2cd5f4573f141d4c1caa8d57e4f02c5c > files > 3

osie-1.0.0-2.mga3.src.rpm

%define name	osie
%define version	1.0.0
%define	release	2

Name:		%{name}
Version:	%{version}
Release:	%mkrel %{release}
Summary:	OpenTTD screenshot information extractor
Group:          Graphics/Utilities
License:	GPLv2
URl:		http://www.openttd.org/
Source0:	http://ftp.snt.utwente.nl/pub/games/openttd/binaries/extra/%{name}/%{version}/%{name}-%{version}-source.tar.gz
Patch0:		osie-1.0.0-add_makefile.local_support.patch
BuildRequires:	png-devel

%description
osie (OpenTTD screenshot information extractor) extracts the information
stored in OpenTTD's PNG screenshots such as the version, NewGRFs and AIs.

%prep
%setup -q
%patch0 -p0 -b .addlocalsupport

cat >> Makefile.local << EOF
prefix = %{_prefix}
DO_NOT_INSTALL_CHANGELOG = 1
DO_NOT_INSTALL_LICENSE = 1
DO_NOT_INSTALL_DOCS = 1
EOF

%build
%setup_compile_flags
%make VERBOSE=1

%install
%makeinstall_std

%files
%doc docs/readme.txt changelog.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*


%changelog

* Thu Jan 24 2013 fwang <fwang> 1.0.0-2.mga3
+ Revision: 391887
- update rpm group

  + umeabot <umeabot>
    - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Jan 27 2011 wally <wally> 1.0.0-1.mga2
+ Revision: 41800
- imported package osie