Package libgeotiff: 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 | %define soversion 5 Name: libgeotiff Version: 1.6.0 Release: alt2 Summary: Library for reading and writing GeoTIFF information tags. License: Public domain Group: System/Libraries Url: http://trac.osgeo.org/geotiff/ Packager: Dmitry Derjavin <dd@altlinux.org> Source: %name-%version.tar %def_disable static %def_disable data # Automatically added by buildreq on Tue Jul 06 2010 BuildRequires: gcc-c++ libtiff-devel libjpeg-devel zlib-devel libproj-devel %package -n %name%soversion Summary: Library for reading and writing GeoTIFF information tags. Group: System/Libraries %package utils Summary: Programs for manipulating GeoTIFF information tags Group: Graphics Requires: %name%soversion = %EVR %package devel Summary: Development tools for programs which will use geotiff library Group: Development/C Requires: %name%soversion = %EVR %if_enabled data Requires: %name-data = %EVR %endif %package devel-static Summary: Static geotiff library Group: Development/C Requires: %name-devel = %EVR %package data Summary: CSV data files derived from the EPSG Tables Group: Graphics Requires: %name-utils = %EVR %description Libgeotiff is an open source library normally hosted on top of libtiff for reading and writing GeoTIFF information tags. The libgeotiff library is a sub-project of the MetaCRS project. http://wiki.osgeo.org/wiki/MetaCRS %description -n %name%soversion Libgeotiff is an open source library normally hosted on top of libtiff for reading and writing GeoTIFF information tags. The libgeotiff library is a sub-project of the MetaCRS project. http://wiki.osgeo.org/wiki/MetaCRS %description utils This package contains client programs for accessing libgeotiff functions. %description devel This package contains header files for developing programs which will manipulate GeoTIFF information data using geotiff library. %description devel-static This package contains static %name library. %description data This package contains CSV data files derived from the EPSG Tables. %prep %setup -q %build %autoreconf %configure \ --prefix=%{_prefix} \ --includedir=%{_includedir}/%{name}/ \ --with-zlib \ --with-jpeg \ --with-proj \ %{subst_enable static} %make_build %install %makeinstall_std # install manualy some file install -p -m 755 bin/makegeo %{buildroot}%{_bindir} # install pkgconfig file cat > geotiff.pc <<EOF prefix=%{_prefix} exec_prefix=%{_prefix} libdir=%{_libdir} includedir=%{_includedir}/%{name} Name: geotiff Description: GeoTIFF file format library Version: %{version} Libs: -L\${libdir} -lgeotiff Cflags: -I\${includedir} EOF mkdir -p %buildroot%_pkgconfigdir/ install -p -m 644 geotiff.pc %buildroot%_pkgconfigdir/ %files -n %name%soversion %_libdir/%name.so.%{soversion} %_libdir/%name.so.%{soversion}.* %doc README %doc LICENSE %files utils %_bindir/* %_man1dir/* %files devel %_libdir/%name.so %_pkgconfigdir/geotiff.pc %_includedir/%name # EPSG data files. Check license! #%_includedir/%name/*.inc* %if_enabled static %files devel-static %_libdir/%name.a %endif %if_enabled data %files data %_datadir/epsg_csv %endif %changelog * Wed Jun 30 2021 Igor Vlasenko <viy@altlinux.org> 1.6.0-alt2 - install makegeo - pkgconfig should be geotiff.pc * Sat Sep 19 2020 Igor Vlasenko <viy@altlinux.ru> 1.6.0-alt1 - updated to 1.6.0 (closes: #38967) - switched to shared libs policy (%%name%%soversion lib package) * Thu Oct 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.0-alt2.1 - Rebuilt with libtiff5 * Mon Dec 26 2011 Dmitry Derjavin <dd@altlinux.org> 1.3.0-alt2 - RPATH issue fixed on x86_64 (closes: 26704) - data package with EPSG csv files is now enabled by default (closes: 24405) * Fri Jul 30 2010 Dmitry Derjavin <dd@altlinux.org> 1.3.0-alt1 - Initial ALTLinux build. |