peeper/peeper.spec

Name: peeper
Summary: Tool to magnify parts of your screen
Version: 0.3
Release: 0.2
License: GPL
Group: Applications/System
URL: http://peeper.sourceforge.net/
Description: Peeper is a program to view an area of the screen at a certain magnification. It has the ability to magnify animations, and view the screen at different levels of magnification. It is designed to support many widget sets and graphics backends.

CentOS 7 x86_64

The build could not start because the following file is missing: peeper-0.3.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: peeper-0.3.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag


%{?fc4:%define _without_modxorg 1}
%{?el4:%define _without_modxorg 1}
%{?fc3:%define _without_modxorg 1}
%{?fc2:%define _without_modxorg 1}
%{?fc1:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?rh9:%define _without_modxorg 1}
%{?rh7:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}
%{?yd3:%define _without_modxorg 1}

%define desktop_vendor rpmforge

Summary: Tool to magnify parts of your screen
Name: peeper
Version: 0.3
Release: 0.2%{?dist}
License: GPL
Group: Applications/System
URL: http://peeper.sourceforge.net/

Source: http://dl.sf.net/peeper/peeper-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gcc-c++, libgnomeui-devel
%{!?_without_modxorg:BuildRequires: libX11-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}

%description
Peeper is a program to view an area of the screen at a certain
magnification. It has the ability to magnify animations, and
view the screen at different levels of magnification. It is
designed to support many widget sets and graphics backends.

%prep
%setup

%{__cat} <<EOF >gnome-%{name}.desktop
[Desktop Entry]
Name=Peeper Magnifier
Comment=Magnify parts of your screen
#Icon=gv4l/gv4l.png
Exec=peeper
Terminal=false
Type=Application
EOF

%build
#configure
%{__make} %{?_smp_mflags} gnome

%install
%{__rm} -rf %{buildroot}
%makeinstall
%find_lang %{name}

%{__install} -d -m0755 %{buildroot}%{_datadir}/applications
desktop-file-install --vendor %{desktop_vendor}    \
        --add-category X-Red-Hat-Base              \
        --add-category Application                 \
        --add-category AudioVideo                  \
        --dir %{buildroot}%{_datadir}/applications \
        gnome-%{name}.desktop

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING README TODO
%doc %{_mandir}/man?/*
%{_bindir}/*
%{_libdir}/*
%{_datadir}/pixmaps/*
%{_datadir}/applications/*.desktop

%changelog
* Sun Aug 03 2003 Dag Wieers <dag@wieers.com> - 0.3-0
- Initial package. (using DAR)