Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
libindi
libindi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libindi.spec of Package libindi
# # spec file for package libindi # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libindi Version: 0.8 Release: 1 License: GPLv2+ ; LGPLv2.1+ Summary: Instrument Neutral Distributed Interface Url: http://www.indilib.org/ Group: Productivity/Scientific/Astronomy Source0: http://prdownloads.sourceforge.net/indi/%{name}_%{version}.tar.gz # PATCH-FIX-UPSTREAM fix_symlinks.patch asterios.dramis@gmail.com -- Fix symlinks installation (patch from gentoo) Patch0: fix_symlinks.patch # PATCH-FIX-UPSTREAM libindi.pc_fix.patch asterios.dramis@gmail.com -- Fix pkgconfig file Patch1: libindi.pc_fix.patch # PATCH-FIX-OPENSUSE bufferoverflowstrncat.patch asterios.dramis@gmail.com -- Fix "bufferoverflowstrncat" post-build check errors Patch2: bufferoverflowstrncat.patch # PATCH-FIX-OPENSUSE no-return-in-nonvoid-function.patch asterios.dramis@gmail.com -- Fix "no-return-in-nonvoid-function" post-build check errors Patch3: no-return-in-nonvoid-function.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libcfitsio-devel BuildRequires: libfli-devel BuildRequires: libnova-devel BuildRequires: libusb-devel BuildRequires: zlib-devel Requires: libindi0 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %package devel License: GPLv2+ ; LGPLv2.1+ Summary: Development files for libindi Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libindi0 = %{version} %description devel This package contains development files for libindi. %package -n libindi0 License: GPLv2+ ; LGPLv2.1+ Summary: Instrument Neutral Distributed Interface Group: System/Libraries %description -n libindi0 INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %prep %setup -q %patch0 -p1 %patch1 %patch2 %patch3 -p1 # fix multilib sed -i -e "s:\${LIB_POSTFIX}:\${LIB_SUFFIX}:g" CMakeLists.txt %build mkdir build cd build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" _libsuffix=$(echo %_lib | cut -b4-) cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX="$_libsuffix" .. make %{?_smp_mflags} VERBOSE=1 cd .. %install cd build %make_install cd .. %clean rm -rf %{buildroot} %post -n libindi0 -p /sbin/ldconfig %postun -n libindi0 -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING.LIB ChangeLog LICENSE NEWS README README.drivers TODO %{_datadir}/indi/ %{_bindir}/indi* %files devel %defattr(-,root,root,-) %doc COPYING.LIB LICENSE %{_includedir}/libindi/ %{_libdir}/pkgconfig/libindi.pc %{_libdir}/libindi.so %{_libdir}/libindi*.a %files -n libindi0 %defattr(-,root,root,-) %{_libdir}/libindi.so.0* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor