Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 93676c43a953c23b70e875c8e77e0e04 > files > 2

wmcalc-0.3-10mdv2010.0.src.rpm

%define name    wmcalc
%define version 0.3
%define release %mkrel 10

Name:		%name
Version:	%version
Release:	%release
Summary:	Calculator dockapp for windowmaker
Url:		http://packages.debian.org/unstable/x11/wmcalc.html
Source:		http://ftp.debian.org/debian/pool/main/w/wmcalc/wmcalc_0.3.orig.tar.bz2
PAtch1:         %name-patch_other_locales.bz2
License:	GPL
Group:		Graphical desktop/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	X11-devel libxpm-devel libx11-devel

%description
wmcalc is a small calculator meant for the WindowMaker dock or Afterstep
Wharf.  It is a simple calculator with basic functions and memory slots,
and can launch any external application for more complex calculations.

%prep
%setup -q -n %name-%version.orig
%patch1 -p1 -b .orig

%build
# (tv) fix build:
perl -pi -e 's!/usr/local/include!/usr/include/X11/!' Makefile
%make


%install
%__rm -rf %buildroot
%__install -D %name	%buildroot/usr/X11R6/bin/%name

%clean
%__rm -rf %buildroot


%files
%defattr(0644,root,root,0755)
%doc README .wmcalc
%defattr(0755,root,root,0755)
/usr/X11R6/bin/%name



%changelog
* Wed Sep 09 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.3-10mdv2010.0
+ Revision: 434774
- rebuild

* Sun Aug 03 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.3-9mdv2009.0
+ Revision: 262016
- rebuild

* Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.3-8mdv2009.0
+ Revision: 256042
- rebuild
- fix no-buildroot-tag
- fix spacing at top of description

* Thu Dec 20 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.3-6mdv2008.1
+ Revision: 135832
- fix build
- BR libx11-devel
- kill re-definition of %%buildroot on Pixel's request
- buildrequires X11-devel instead of XFree86-devel
- import wmcalc


* Mon Jan 02 2006 Lenny Cartier <lenny@mandriva.com> 0.3-6mdk
- rebuild

* Fri Oct 15 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.3-5mdk
- rebuild

* Wed Sep 24 2003 Han Boetes <han@linux-mandrake.com> 0.3-4mdk
- Added patch to fix other locales: qa.mandrakesoft.com/show_bug.cgi?id=5923
- Cleanups

* Fri Apr 25 2003 Han Boetes <han@linux-mandrake.com> 0.3-3mdk
- Stephans magic bot found some missing deps.
- Few more minor cleanups

* Fri Dec 27 2002 Han Boetes <han@linux-mandrake.com> 0.3-2mdk
- rebuild because of new rpm macros and new glibc

* Sun Jun  9 2002 Han Boetes <han@mijncomputer.nl> 0.3-1mdk
- Initial mdk release.