Name: gphoto2
License: GPL
Group: Hardware/Other
Version: 2.1.1
Release: 1
Distribution: Mercury
Vendor: Sun Microsystems Inc
Summary: Digital camera utility
Source: gphoto2-%{version}.tar.bz2
URL: http://www.gphoto.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
DocDir: %{_defaultdocdir}/gphoto2
Autoreqprov: on
%description
gPhoto (GNU Photo) is a commandline tool for previewing, retrieving, and capturing images from a range of supported digital camerason to your local harddrive.
(It does not support digital cameras based on the USB storage protocol,
those can be mounted by Linux directly.)
As of this time gPhoto supports around 200 cameras, listed on:
http://www.gphoto.org/cameras.html
or by running
gphoto2 --list-cameras
%prep
%setup -q -n gphoto2-%{version}
%build
#%{?suse_update_config:%{suse_update_config -f}}
libtoolize --copy --force
aclocal
automake
autoconf
PATH="/usr/X11R6/bin:$PATH" CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--with-cdk-prefix={_prefix} \
--with-doc-dir=%{_defaultdocdir}/%{name}
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT mandir=$RPM_BUILD_ROOT%{_mandir} install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%{_bindir}/gphoto2
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%changelog -n gphoto
* Wed Jul 16 2003 - [email protected]
- Initial version