Blob Blame History Raw
Summary:	Remote control utility for Canon cameras
Name:		multican
Version:	0.0.5
Release:	3%{?dist}
Source0:	http://prdownloads.sourceforge.net/multican/%{name}-%{version}.tar.gz
URL:		http://multican.sourceforge.net/
License:	GPLv2
Group:		Applications/Multimedia
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	libusb-devel >= 0.1.12
Requires:	libusb >= 0.1.12

%description
Multican is Canon EOS class USB remote control utility for 300D, 350D,
30D, 20D and 5D. It is possible to control more of Canon cameras in
the same time up to six cameras attached. Multican allows scripted
remote control of multiple cameras.

%package devel
Summary: Development library for multican
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, libraries needed to develop
applications that use multican library to access Canon cameras.

%prep
%setup -q

%build
make CFLAGS="$RPM_OPT_FLAGS -fPIC"

%install
rm -rf $RPM_BUILD_ROOT
make	BINDIR="$RPM_BUILD_ROOT%{_bindir}" \
	LIBDIR="$RPM_BUILD_ROOT%{_libdir}" \
	INCLDIR="$RPM_BUILD_ROOT%{_includedir}" \
	install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc COPYING README
%{_bindir}/*
%{_libdir}/*.so.*

%files devel
%doc TODO ChangeLog
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so

%changelog
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-3
- Autorebuild for GCC 4.3

* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> 0.0.5-2
- update License
- rebuild for BuildID

* Tue Feb 20 2007 Jindrich Novy <jnovy@redhat.com> 0.0.5-1
- update to 0.0.5
- new devel package now provides shared library and headers

* Sun Dec 17 2006 Jindrich Novy <jnovy@redhat.com> 0.0.4-2
- rebuild to avoid EVR problems with FC5 multican

* Tue Nov 07 2006 Jindrich Novy <jnovy@redhat.com> 0.0.4-1
- initial build