Package libdivecomputer-subsurface: Specfile
# BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/doxygen pkgconfig(bluez) # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %define major 0 %define libname libdivecomputer-subsurface%{major} %define develname libdivecomputer-subsurface-devel %define major_orig 0 %define libname_orig libdivecomputere%{major_orig} %define develname_orig libdivecomputer-devel # disable debuginfo, it's empty anyway due to static-only library %global debug_package %{nil} Name: libdivecomputer-subsurface Summary: Library for communication with dive computers Version: 4.8.5 Release: alt1_1 # includes "Public domain" portions from https://github.com/kokke/tiny-AES128-C : # aes.c License: LGPLv2+ Group: Development/C URL: http://git.subsurface-divelog.org/index.cgi?p=libdc.git Source0: https://subsurface-divelog.org/downloads/libdivecomputer-subsurface-branch-%{version}.tgz BuildRequires: libusb-devel BuildRequires: zlib-devel BuildRequires: libtool Source44: import.info %description Libdivecomputer is a cross-platform and open source library for communication with dive computers from various manufacturers. %package -n %{develname} Summary: Header files and development libraries for %{name} Group: Development/C Provides: divecomputer-subsurface-devel = %{version}-%{release} Conflicts: %{develname_orig} %description -n %{develname} Header files and development libraries for %{name}. %prep %setup -q -n libdivecomputer-subsurface-branch-%{version} %build # generate configure autoreconf -fi %configure \ --disable-doc \ --disable-silent-rules \ --disable-shared \ --enable-static %make_build %install %makeinstall_std # fix version in libdivecomputer.pc sed -i -e 's,^Version.*,Version: %{version},' \ %{buildroot}%{_libdir}/pkgconfig/libdivecomputer.pc ## unpackaged files rm -f %{buildroot}%{_bindir}/dctool rm -f %{buildroot}%{_libdir}/lib*.la %files -n %{develname} %doc NEWS README %doc --no-dereference COPYING %{_includedir}/libdivecomputer/ %{_libdir}/libdivecomputer.a %{_libdir}/pkgconfig/libdivecomputer.pc %changelog * Fri Mar 01 2019 Igor Vlasenko <viy@altlinux.ru> 4.8.5-alt1_1 - update by mgaimport * Tue Oct 30 2018 Igor Vlasenko <viy@altlinux.ru> 4.8.3-alt1_1 - update by mgaimport * Fri Jun 22 2018 Igor Vlasenko <viy@altlinux.ru> 4.7.8-alt1_1 - new version |