[521] | 1 | Name: libindi |
---|
[1393] | 2 | Summary: Instrument Neutral Distributed Interface |
---|
[521] | 3 | Version: 0.6 |
---|
[1393] | 4 | Release: 12%{?_dist_release} |
---|
[521] | 5 | |
---|
[846] | 6 | Group: System Environment/Libraries |
---|
[521] | 7 | License: LGPLv2+ and GPLv2+ |
---|
| 8 | # The code is LGPLv2+ except: |
---|
| 9 | # some files for v4l2 conversion under libs/webcam are GPLv2+ |
---|
| 10 | # drivers/video/stvdriver (indi_stv driver) appears to contain GPL code |
---|
| 11 | # upstream bug https://sourceforge.net/tracker2/?func=detail&aid=2572902&group_id=90275&atid=593019 |
---|
| 12 | |
---|
| 13 | URL: http://indi.sourceforge.net/ |
---|
| 14 | |
---|
| 15 | %define majorver 0 |
---|
| 16 | |
---|
| 17 | Source0: http://downloads.sourceforge.net/indi/%{name}%{majorver}_%{version}.tar.gz |
---|
| 18 | Patch0: libindi-suffix.patch |
---|
| 19 | Patch1: libindi-cfitsio.patch |
---|
| 20 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | BuildRequires: cmake |
---|
| 22 | BuildRequires: cfitsio-devel |
---|
| 23 | BuildRequires: zlib-devel |
---|
| 24 | BuildRequires: libnova-devel libfli-devel |
---|
| 25 | |
---|
[1393] | 26 | Conflicts: kdeedu3 |
---|
| 27 | |
---|
[521] | 28 | %description |
---|
| 29 | INDI is a distributed control protocol designed to operate |
---|
| 30 | astronomical instrumentation. INDI is small, flexible, easy to parse, |
---|
| 31 | and scalable. It supports common DCS functions such as remote control, |
---|
| 32 | data acquisition, monitoring, and a lot more. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %package devel |
---|
| 36 | Summary: Libraries, includes, etc. used to develop an application with %{name} |
---|
| 37 | Group: Development/Libraries |
---|
| 38 | Requires: %{name} = %{version}-%{release} |
---|
| 39 | Provides: libindi-static = %{version}-%{release} |
---|
| 40 | |
---|
| 41 | %description devel |
---|
| 42 | These are the header files needed to develop a %{name} application |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q -n %{name}%{majorver}-%{version} |
---|
| 46 | %patch0 -p1 |
---|
| 47 | %patch1 -p1 |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | mkdir -p %{_target_platform} |
---|
| 51 | pushd %{_target_platform} |
---|
| 52 | CFLAGS="${CFLAGS:-%optflags}" \ |
---|
| 53 | CXXFLAGS="${CXXFLAGS:-%optflags}" \ |
---|
| 54 | FFLAGS="${FFLAGS:-%optflags}" \ |
---|
| 55 | %cmake \ |
---|
| 56 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 57 | -DDATA_INSTALL_DIR:PATH=%{_datadir} \ |
---|
| 58 | .. |
---|
| 59 | popd |
---|
| 60 | |
---|
| 61 | make VERBOSE=1 %{?_smp_mflags} -C %{_target_platform} |
---|
| 62 | |
---|
| 63 | %install |
---|
| 64 | rm -fr %{buildroot} |
---|
| 65 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 66 | |
---|
| 67 | %clean |
---|
| 68 | rm -fr %{buildroot} |
---|
| 69 | |
---|
| 70 | %post -p /sbin/ldconfig |
---|
| 71 | |
---|
| 72 | %postun -p /sbin/ldconfig |
---|
| 73 | |
---|
| 74 | %files |
---|
| 75 | %defattr(-,root,root,-) |
---|
| 76 | %doc AUTHORS ChangeLog COPYING.LIB LICENSE README README.drivers README.robofocus |
---|
| 77 | %{_bindir}/* |
---|
| 78 | %{_libdir}/*.so.* |
---|
| 79 | %{_datadir}/indi |
---|
| 80 | |
---|
| 81 | %files devel |
---|
| 82 | %defattr(-,root,root,-) |
---|
| 83 | %doc README COPYING.LIB LICENSE |
---|
| 84 | %{_includedir}/* |
---|
| 85 | %{_libdir}/*.so |
---|
| 86 | %{_libdir}/*.a |
---|
| 87 | |
---|
| 88 | %changelog |
---|
[1393] | 89 | * Wed Jul 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6-12 |
---|
| 90 | - added Conflicts: kdeedu3 |
---|
| 91 | |
---|
[846] | 92 | * Sat Apr 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6-11 |
---|
| 93 | - rebuilt with new toolchain and libnova-0.13 |
---|
| 94 | |
---|
[521] | 95 | * Sat Sep 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.6-10 |
---|
| 96 | - use %%cmake macro |
---|
| 97 | |
---|
| 98 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6-9 |
---|
| 99 | - Inisital build for Vine Linux |
---|
| 100 | |
---|
| 101 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-8 |
---|
| 102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 103 | |
---|
| 104 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7 |
---|
| 105 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 106 | |
---|
| 107 | * Wed Feb 18 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-6 |
---|
| 108 | - Provides libindi-static |
---|
| 109 | |
---|
| 110 | * Tue Feb 17 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-5 |
---|
| 111 | - Need to provide the static library libindidriver.a to build indi-apogee |
---|
| 112 | |
---|
| 113 | * Sat Feb 14 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-4 |
---|
| 114 | - Fixed patch to find cfitsio |
---|
| 115 | |
---|
| 116 | * Sat Feb 14 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-3 |
---|
| 117 | - Patch to detect cfitsio in all architectures |
---|
| 118 | |
---|
| 119 | * Fri Feb 06 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-2 |
---|
| 120 | - Commands (rm, make) instead of macros |
---|
| 121 | - Upstream bug about licenses (GPLv2 missing) |
---|
| 122 | - Upstream bug about libindi calling exit |
---|
| 123 | |
---|
| 124 | * Mon Jan 28 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-1 |
---|
| 125 | - First version |
---|