Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > c91269045eb2debbc5798a687c5d51a9 > files > 4

wmgrabimage-0.72-4.mga3.src.rpm

%define         srcname       wmGrabImage


Name:           wmgrabimage
Version:        0.72
Release:        %mkrel 4
Summary:        A dockapp that maintains a thumbnail copy of any remote image
License:        GPLv2
Group:          Monitoring

URL:            http://dockapps.windowmaker.org/file.php/id/12
Source0:        http://dockapps.windowmaker.org/download.php/id/19/%{srcname}-%{version}.tgz

#fix old style call to convert with -geom instead of expected -geometry
Patch0:          %{srcname}-0.72-convert.patch
Patch1:          %{srcname}-0.72-ctime.patch


BuildRequires:  glibc-devel
BuildRequires:  libxpm-devel
BuildRequires:  libx11-devel
BuildRequires:  libxext-devel

Requires: perl
Requires: imagemagick
Requires: wget
Requires: sed



%description
Wmgrabimage is another dockapp for WindowMaker, or any window manager
and desktop environment that handles dock applications. It displays a
small copy of any remote image you want to monitor via the "-url"
command line argument. The default update interval is 5 minutes but
can be overridden through the "-delay" option.



%prep
%setup -q -n %{srcname}-%{version}
%patch0 -p0 -b .orig
%patch1 -p0 -b .orig


%build
cd %{srcname}
%make clean
%make


%install
rm -rf %{buildroot}
cd %{srcname}
install -D -m 755 GrabImage %{buildroot}%{_bindir}/GrabImage
install -D -m 755 %{srcname} %{buildroot}%{_bindir}/%{name}
install -D -m 644 %{srcname}.1 %{buildroot}%{_mandir}/man1/%{name}.1


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root)
%doc BUGS CHANGES COPYING HINTS TODO
%{_bindir}/GrabImage
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*





%changelog

* Mon Jan 14 2013 umeabot <umeabot> 0.72-4.mga3
+ Revision: 385751
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Nov 06 2012 eatdirt <eatdirt> 0.72-3.mga3
+ Revision: 314652
- Fix dead link in URL

* Tue Jun 12 2012 eatdirt <eatdirt> 0.72-2.mga3
+ Revision: 260054
- Fix obsolete reference to "ctime.pl" in perl script

* Tue Oct 18 2011 eatdirt <eatdirt> 0.72-1.mga2
+ Revision: 156361
- imported package wmgrabimage