Blob Blame History Raw
Name:       wmfrog
Version:    0.2.1
Release:    2%{?dist}
Summary:    A weather application, it shows the weather in a graphical way

Group:      Amusements/Graphics
License:    GPLv2+
URL:        http://wiki.colar.net/wmfrog_dockapp
Source0:    http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz
BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Patch0:     %{name}-0.2.1-metar_parser.patch

BuildRequires:  libX11-devel, libXext-devel, libXpm-devel 
Requires:   wget

%description
This is a weather application, it shows the weather in a graphical way. The
artwork looks like a kiddo did it, but that's part of the charm… Ok, I did it
when I was 25, I'm a programmer not a designer :)


%prep
%setup -q -c
%patch0 -p1 -b .metar_parser
sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile
sed -i 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c


%build
cd Src
make CFLAGS="${RPM_OPT_FLAGS}" %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
cd Src
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_libexecdir}/%{name}
%doc CHANGES COPYING HINTS 


%changelog
* Mon Aug 09 2010 Petr Pisar <ppisar@redhat.com> - 0.2.1-2
- Change RPM group to Amusements/Graphics

* Thu Aug 05 2010 Petr Pisar <ppisar@redhat.com> - 0.2.1-1
- 0.2.1 bump
- Fix METAR parser

* Tue Aug 03 2010 Petr Pisar <ppisar@redhat.com> - 0.2.0-1
- 0.2.0 import