Package libdivecomputer-subsurface: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/doxygen pkgconfig(bluez) pkgconfig(libmtp) # END SourceDeps(oneline) %filter_from_provides /^pkgconfig.libdivecomputer./d # 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: 5.0.1 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 Apr 16 2021 Igor Vlasenko <viy@altlinux.org> 5.0.1-alt1_1 - update by mgaimport * Sat Dec 26 2020 Igor Vlasenko <viy@altlinux.ru> 4.9.10-alt1_1 - new version * Tue Sep 08 2020 Igor Vlasenko <viy@altlinux.ru> 4.9.6-alt1_1 - update by mgaimport * Thu Jun 25 2020 Igor Vlasenko <viy@altlinux.ru> 4.9.4-alt1_1 - update by mgaimport * Thu Oct 17 2019 Igor Vlasenko <viy@altlinux.ru> 4.9.3-alt1_1 - update by mgaimport * Wed Sep 18 2019 Igor Vlasenko <viy@altlinux.ru> 4.9.1-alt1_1 - update by mgaimport * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 4.8.6-alt1_1 - update by mgaimport * 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 |