File indi-sbig.spec of Package indi-sbig
#
# spec file for package indi_sbig (Version 1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: indi-sbig
BuildRequires: gcc-c++ libindi0-devel cmake zlib-devel sbig libnova0-devel libusb-devel libcfitsio3-devel
Requires: libindi0
Url: http://indi.sourceforge.net
License: LGPL
Group: Productivity/Scientific/Astronomy
Autoreqprov: on
Summary: INDI SBIG Driver
Version: 1.0
Release: 1
BuildRoot: %{_tmppath}/%{name}_%{version}-build
Source: %{name}_%{version}.tar.gz
Packager: Jasem Mutlaq <mutlaqja@ikarustech.com>
%description
indi-sbig is an INDI driver for SBIG CCDs. This driver can be used in any INDI compatible client such as KStars or Xephem.
Authors:
--------
Jan Soldan (jsoldan@asu.cas.cz)
%prep
%setup -q -n %{name}-%{version}
%build
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_ROOT=$RPM_BUILD_ROOT
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf filelists
%files
%defattr(-,root,root)
%dir %{_datadir}/indi
%{_datadir}/indi/indi_sbig.xml
%{_bindir}/indi_sbig_ccd
%changelog
* Mon Oct 06 2008 Jasem Mutlaq <mutlaqja@ikarustech.com> - 1.0
- Initial version