[wmfrog] Clean spec file
Petr Pisar
ppisar at fedoraproject.org
Thu May 17 06:32:12 UTC 2012
commit 673ffda0c557eac30448014e7a537b0ac8526bfe
Author: Petr Písař <ppisar at redhat.com>
Date: Thu May 17 08:28:29 2012 +0200
Clean spec file
wmfrog.spec | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/wmfrog.spec b/wmfrog.spec
index a775cca..f874f26 100644
--- a/wmfrog.spec
+++ b/wmfrog.spec
@@ -2,15 +2,12 @@ Name: wmfrog
Version: 0.3.1
Release: 4%{?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
# Bug 822219, submitted to upstream.
Patch0: %{name}-0.3.1-Skip-warning.patch
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-
BuildRequires: libX11-devel, libXext-devel, libXpm-devel
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: wget
@@ -20,7 +17,6 @@ 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 .warning
@@ -29,33 +25,24 @@ sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c
# Remove prebuilt binaries
make -C Src clean
-
%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
* Thu May 17 2012 Petr Pisar <ppisar at redhat.com> - 0.3.1-4
- Adjust to NOAA web page change (bug #822219)
- Depend on perl ABI
+- Clean spec file
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list