Package indilib: 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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 | %define shortname indi %define name_common %{shortname}lib-common Name: %{shortname}lib Version: 1.9.0 Release: alt2 %define _unpackaged_files_terminate_build 1 # This package tries to mix and match PIE and PIC which is wrong and will # trigger link errors when LTO is enabled. # Disable LTO %global optflags_lto %nil %add_verify_elf_skiplist %_libdir/libindidriver.so.%version %add_verify_elf_skiplist %_libdir/libindimain.so.%version %add_verify_elf_skiplist %_libdir/libindiAlignmentDriver.so.%version %add_verify_elf_skiplist %_libdir/libindilx200.so.%version Group: Development/C Summary: Library to control astronomical devices Url: http://indi.sourceforge.net/ License: LGPLv2+ Provides: %shortname = %version-%release Conflicts: kde4edu-kstars < 4.1.60 Conflicts: kdeedu-kstars <= 3.5.10-alt2 # http://nchc.dl.sourceforge.net/sourceforge/indi/ Source: %{shortname}-%version.tar # Automatically added by buildreq on Wed Oct 05 2011 (-bi) # optimized out: cmake-modules elfutils libstdc++-devel pkg-config zlib-devel #BuildRequires: boost-devel-headers cmake gcc-c++ libcfitsio-devel libnova-devel libusb-compat-devel zlib-devel-static BuildRequires: boost-devel cmake gcc-c++ libcfitsio-devel libnova-devel libusb-compat-devel zlib-devel BuildRequires: libfftw3-devel BuildRequires: libusb-devel libjpeg-devel libgsl-devel libcurl-devel libtheora-devel BuildRequires: kde-common-devel Patch0: libindi-uaccess.patch Patch1: libindi-gcc11.patch %description INDI is an instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc). %package -n %name_common Summary: %name common package Group: System/Configuration/Other BuildArch: noarch Conflicts: indilib <= 1.5.0-alt2 %description -n %name_common %name common package %package -n libsbigudrv Summary: Librar file for INDI Group: Development/C Requires: %{name_common} = %EVR %description -n libsbigudrv INDI is an instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc). This package contains library files of indilib. %package -n lib%shortname Group: System/Libraries Summary: Library to control astronomical devices Requires: %{name_common} = %EVR %description -n lib%shortname INDI is an instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc). %package -n lib%shortname-devel Summary: INDI devellopment files Group: Development/C Requires: %{name_common} = %EVR Provides: %shortname-devel = %version-%release Provides: %{shortname}lib-devel = %version-%release Obsoletes: %{shortname}lib-devel < %version-%release %description -n lib%shortname-devel INDI is an instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc). This package contains files need to build applications using indilib. %package -n lib%shortname-devel-static Summary: INDI static libraries Group: Development/C Requires: lib%shortname-devel = %EVR Conflicts: lib%{shortname}-devel < 1.8.9-alt1 %description -n lib%shortname-devel-static INDI is an instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc). This package contains files need to build applications using indilib. %prep %setup -n %{shortname}-%version %patch0 -p1 %patch1 -p1 %ifarch %e2k # strip UTF-8 BOM for lcc < 1.24 find -type f -name '*.cpp' -o -name '*.hpp' | xargs sed -ri 's,^\xEF\xBB\xBF,,' %endif %build %Kbuild \ -DUDEVRULES_INSTALL_DIR=%_udevrulesdir \ # %install %Kinstall %files common %doc ChangeLog README # an essential part of libindi according to FindINDI.cmake %_datadir/%shortname/ %files %_bindir/* %_udevrulesdir/*.rules %files -n lib%shortname #%_libdir/libindi.so.1 #%_libdir/libindi.so.1.* %_libdir/libindiAlignmentDriver.so.1 %_libdir/libindiAlignmentDriver.so.1.* %_libdir/libindidriver.so.1 %_libdir/libindidriver.so.1.* %_libdir/libindilx200.so.1 %_libdir/libindilx200.so.1.* # an essential part of libindi according to FindINDI.cmake %_libdir/%shortname/MathPlugins #%files -n libsbigudrv #%_libdir/libsbigudrv.so.* %files -n lib%shortname-devel #%doc src/examples %_libdir/*.so %_includedir/libindi %_pkgconfigdir/libindi.pc %files -n lib%shortname-devel-static %_libdir/*.a %changelog * Thu Jul 13 2023 Artyom Bystrov <arbars@altlinux.org> 1.9.0-alt2 - Fix build on GCC13 * Tue Oct 26 2021 Igor Vlasenko <viy@altlinux.org> 1.9.0-alt1 - picked up from the dead for autoimports dependencies - new version 1.9.0 * Fri May 28 2021 Sergey V Turchin <zerg@altlinux.org> 1.8.9-alt1 - new version * Mon Dec 07 2020 Sergey V Turchin <zerg@altlinux.org> 1.7.5-alt4 - don't package static libs into -devel subpackage * Mon Sep 23 2019 Sergey V Turchin <zerg@altlinux.org> 1.7.5-alt3 - E2K: strip UTF-8 BOM for lcc < 1.24 (thanks mike@alt) * Sat Jun 22 2019 Igor Vlasenko <viy@altlinux.ru> 1.7.5-alt2 - NMU: remove rpm-build-ubt from BR: * Thu Dec 27 2018 Sergey V Turchin <zerg@altlinux.org> 1.7.5-alt1 - new version * Fri Apr 13 2018 Sergey V Turchin <zerg@altlinux.org> 1.6.2-alt1 - new version * Wed Oct 25 2017 Sergey V Turchin <zerg@altlinux.org> 1.5.0-alt3 - move data to common subpackage * Mon Oct 16 2017 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt2 - NMU: moved %%_libdir/indi, %_datadir/indi to libindi. - * they are an essential part of libindi according to FindINDI.cmake * Sun Oct 15 2017 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt1 - NMU: new version (closes: #33997) * Mon Sep 18 2017 Sergey V Turchin <zerg@altlinux.org> 1.3.1-alt2 - rebuild with new libgsl * Fri Apr 07 2017 Sergey V Turchin <zerg@altlinux.org> 1.3.1-alt1 - new version * Tue Mar 22 2016 Sergey V Turchin <zerg@altlinux.org> 1.2.0-alt1 - new version * Mon Mar 21 2016 Sergey V Turchin <zerg@altlinux.org> 1.1.0-alt3 - rebuild with new cfitsio * Sat Mar 19 2016 Sergey V Turchin <zerg@altlinux.org> 1.1.0-alt2 - fix build requires * Fri Mar 18 2016 Sergey V Turchin <zerg@altlinux.org> 1.1.0-alt1 - new version * Wed Jul 01 2015 Sergey V Turchin <zerg@altlinux.org> 1.0.0-alt1 - new version * Thu Nov 27 2014 Sergey V Turchin <zerg@altlinux.org> 0.9.9-alt1 - new version * Wed Mar 26 2014 Sergey V Turchin <zerg@altlinux.org> 0.9.8-alt1 - new version * Thu Oct 10 2013 Sergey V Turchin <zerg@altlinux.org> 0.9.6-alt0.M70P.1 - built for M70P * Fri Sep 06 2013 Sergey V Turchin <zerg@altlinux.org> 0.9.6-alt1 - new version * Fri Jul 27 2012 Sergey V Turchin <zerg@altlinux.org> 0.9.1-alt1.M60P.1 - new version * Tue Jul 24 2012 Sergey V Turchin <zerg@altlinux.org> 0.9.1-alt2 - rebuilt whith new libnova * Tue Jul 24 2012 Sergey V Turchin <zerg@altlinux.org> 0.9.1-alt1 - new version * Tue Nov 01 2011 Sergey V Turchin <zerg@altlinux.org> 0.8.0-alt2.M60P.1 - built for M60P * Wed Oct 19 2011 Sergey V Turchin <zerg@altlinux.org> 0.8.0-alt3 - rebuilt whith new libnova * Wed Oct 05 2011 Sergey V Turchin <zerg@altlinux.org> 0.8.0-alt1.M60P.1 - built for M60P * Wed Oct 05 2011 Sergey V Turchin <zerg@altlinux.org> 0.8.0-alt2 - fix build requires * Tue Oct 04 2011 Sergey V Turchin <zerg@altlinux.org> 0.8.0-alt0.M60P.1 - built for M60P * Tue Oct 04 2011 Sergey V Turchin <zerg@altlinux.org> 0.8.0-alt1 - new version * Wed Mar 02 2011 Sergey V Turchin <zerg@altlinux.org> 0.7.2-alt1 - new version * Thu Jan 20 2011 Sergey V Turchin <zerg@altlinux.org> 0.6.2-alt3 - rebuilt * Thu Jan 20 2011 Sergey V Turchin <zerg@altlinux.org> 0.6.2-alt2 - rebuilt * Fri Aug 06 2010 Sergey V Turchin <zerg@altlinux.org> 0.6.2-alt1 - new version * Tue Nov 10 2009 Sergey V Turchin <zerg@altlinux.org> 0.6-alt4 - rebuilt with new libnova * Mon Feb 16 2009 Sergey V Turchin <zerg at altlinux dot org> 0.6-alt3 - remove ExclusiveArch from specfile * Thu Jan 29 2009 Sergey V Turchin <zerg at altlinux dot org> 0.6-alt2 - fix conflicts * Thu Jan 22 2009 Sergey V Turchin <zerg at altlinux dot org> 0.6-alt1 - new version * Thu Oct 16 2008 Sergey V Turchin <zerg at altlinux dot org> 0.5-alt1 - initial specfile |