From 1945cd5ca7151223a7275b5557cdc91e7f4b743f Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Feb 20 2009 23:40:30 +0000 Subject: Importing indi-apogee --- diff --git a/.cvsignore b/.cvsignore index e69de29..d350393 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +indi-apogee_1.0.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..a3bf017 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +indi-apogee-1_0-1_fc10:HEAD:indi-apogee-1.0-1.fc10.src.rpm:1235173185 diff --git a/indi-apogee-cfitsio.patch b/indi-apogee-cfitsio.patch new file mode 100644 index 0000000..4d667cd --- /dev/null +++ b/indi-apogee-cfitsio.patch @@ -0,0 +1,24 @@ +diff -ur indi-apogee-1.0/CMakeLists.txt indi-apogee-1.0.new/CMakeLists.txt +--- indi-apogee-1.0/CMakeLists.txt 2008-11-18 10:43:03.000000000 +0100 ++++ indi-apogee-1.0.new/CMakeLists.txt 2009-02-14 16:58:12.000000000 +0100 +@@ -9,9 +9,10 @@ + include (MacroLogFeature) + include (MacroBoolTo01) + include (CheckIncludeFiles) ++include (FindPkgConfig) + + find_package(USB REQUIRED) +-find_package(CFITSIO REQUIRED) ++pkg_check_modules(CFITSIO REQUIRED cfitsio) + find_package(INDI REQUIRED) + find_package(APOGEE REQUIRED) + find_package(ZLIB REQUIRED) +@@ -23,7 +24,7 @@ + include_directories( ${CMAKE_CURRENT_BINARY_DIR}) + include_directories( ${CMAKE_SOURCE_DIR}) + include_directories( ${INDI_INCLUDE_DIR}) +-include_directories( ${CFITSIO_INCLUDE_DIR}) ++include_directories( ${CFITSIO_INCLUDE_DIRS}) + include_directories( ${APOGEE_INCLUDE_DIR}) + + if (NOVA_FOUND) diff --git a/indi-apogee.spec b/indi-apogee.spec new file mode 100644 index 0000000..7168e92 --- /dev/null +++ b/indi-apogee.spec @@ -0,0 +1,44 @@ +Name: indi-apogee +Version: 1.0 +Release: 1%{?dist} +Summary: The INDI driver for Apogee Alta (U & E) line of CCDs + +Group: Development/Libraries +License: LGPLv2+ +URL: http://indi.sourceforge.net/ + +Source0: http://downloads.sourceforge.net/indi/%{name}_%{version}.tar.gz +Patch0: indi-apogee-cfitsio.patch +Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: cmake libusb-devel libindi-static libapogee-devel libnova-devel +BuildRequires: cfitsio-devel zlib-devel + +%description +The INDI (Instrument Neutral Distributed Interface) driver for Apogee +Alta (U & E) line of CCDs. + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p1 + +%build +%cmake +make VERBOSE=1 %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING.LIB README +%{_bindir}/* +%{_datadir}/indi/* + +%changelog +* Tue Feb 17 2009 Sergio Pascual - 1.0-1 +- First version diff --git a/sources b/sources index e69de29..8415e37 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3f7e94e0320207b7b2a059fda414ea30 indi-apogee_1.0.tar.gz