libindi/libindi.spec

142 lines
4.5 KiB
RPMSpec
Raw Normal View History

2009-02-09 15:58:11 +00:00
Name: libindi
Version: 0.8
Release: 2%{?dist}
2009-02-09 15:58:11 +00:00
Summary: Instrument Neutral Distributed Interface
Group: Development/Libraries
License: LGPLv2+ and GPLv2+
# The code is LGPLv2+ except:
# some files for v4l2 conversion under libs/webcam are GPLv2+
# drivers/video/stvdriver (indi_stv driver) appears to contain GPL code
# upstream bug https://sourceforge.net/tracker2/?func=detail&aid=2572902&group_id=90275&atid=593019
# rpmlint warning libindi call exit
# upstream bug https://sourceforge.net/tracker2/?func=detail&aid=2572863&group_id=90275&atid=593019
# Address of FSF is incorrect
# upstream bug https://sourceforge.net/tracker/?func=detail&aid=3367995&group_id=90275&atid=593019
URL: http://www.indilib.org
2009-02-09 15:58:11 +00:00
Source0: http://downloads.sourceforge.net/indi/%{name}_%{version}.tar.gz
2009-02-09 15:58:11 +00:00
Patch0: libindi-suffix.patch
BuildRequires: cmake cfitsio-devel zlib-devel libnova-devel libfli-devel
BuildRequires: boost-devel libusb-devel
2009-02-09 15:58:11 +00:00
%description
INDI is a distributed control protocol designed to operate
astronomical instrumentation. INDI is small, flexible, easy to parse,
and scalable. It supports common DCS functions such as remote control,
data acquisition, monitoring, and a lot more.
%package devel
Summary: Libraries, includes, etc. used to develop an application with %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
These are the header files needed to develop a %{name} application
%package static
Summary: Static libraries, includes, etc. used to develop an application with %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description static
Static library needed to develop a %{name} application
2009-02-09 15:58:11 +00:00
%prep
%setup -q -n %{name}-%{version}
2009-02-09 15:58:11 +00:00
%patch0 -p1
%build
%cmake
make VERBOSE=1 %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# Adding manually links missing as in bz #653690
pushd %{buildroot}/%{_bindir}
for i in indi_lx200classic indi_lx200autostar indi_lx200_16 \
indi_lx200gps indi_lx200ap; do
ln -s indi_lx200generic $i
done
popd
2009-02-09 15:58:11 +00:00
%clean
rm -rf %{buildroot}
2009-02-09 15:58:11 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc AUTHORS ChangeLog COPYING.LIB LICENSE README README.drivers
2009-02-09 15:58:11 +00:00
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/indi
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files static
%{_libdir}/*.a
2009-02-09 15:58:11 +00:00
%changelog
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Jul 15 2011 Sergio Pascual <sergiopr at fedoraproject.org> - 0.8-1
- New upstream source
- Submitted a bug upstream, address of FSF is incorrect in some files
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Nov 26 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6.2-2
- Adding manually telescopes missing (bz #653690)
* Thu Jul 29 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6.2-1
- New upstream source (bz #618776)
- Bz #564842 fixed upstream, patch removed
- With pkgconfig file
* Wed Feb 17 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-11
- Added missing -lm in indi_sbig_stv. Fixes bz #564842
2010-01-08 16:16:46 +00:00
* Fri Jan 08 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-10
- EVR bump, rebuilt with new libnova
* Tue Dec 22 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-9
- Static library moved to its own subpackage
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-02-18 17:12:54 +00:00
* Wed Feb 18 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-6
- Provides libindi-static
* Tue Feb 17 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-5
- Need to provide the static library libindidriver.a to build indi-apogee
2009-02-14 16:18:10 +00:00
* Sat Feb 14 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-4
- Fixed patch to find cfitsio
* Sat Feb 14 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-3
- Patch to detect cfitsio in all architectures
2009-02-09 15:58:11 +00:00
* Fri Feb 06 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-2
- Commands (rm, make) instead of macros
- Upstream bug about licenses (GPLv2 missing)
- Upstream bug about libindi calling exit
* Mon Jan 28 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6-1
- First version