1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Summary: Picview is an image preview and viewing program for Gnome.
Name: picview
Version: 0.8
Release: 1
Copyright: GPL
Group: Applications/Multimedia
Source: http://www.digitallabyrinth.com/linux/picview/%{name}-%{version}.tar.gz
URL: http://www.digitallabyrinth.com/linux/picview/index.html
Packager: Scott Sams <sbsams@digitallabyrinth.com>
BuildRoot: /var/tmp/%{name}-%{version}-root
%description
Picview is an image preview and viewing program for Gnome. Why another image
viewer for Gnome? Well, all the other's out there didn't do exactly what I
wanted to do. Most of them force you to either view the image in the same
window as all the preview icons, or only one image can be viewed at a time.
%prep
%setup -q -n %{name}-%{version}
%build
./configure --prefix=/usr
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin/
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
install -m 755 picview $RPM_BUILD_ROOT/usr/bin
install -m 644 picview.png $RPM_BUILD_ROOT/usr/share/pixmaps
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin/picview
/usr/share/pixmaps/picview.png
|