Package libshape: 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 | %define oname shapelib Name: libshape Version: 1.3.0b2 Release: alt1 Summary: API in "C" for Shapefile handling # No version of the LGPL is given. License: LGPLv2+ or MIT Url: http://shapelib.maptools.org/ Packager: Vitaly Lipatov <lav@altlinux.ru> Source: http://download.osgeo.org/shapelib/%oname-%version.tar Patch: shapelib-1.3.0b1-Makefile.patch Patch1: shapelib-1.3.0b2-Makefile2.patch Patch2: shapelib-1.2.10-endian.patch Patch3: shapelib-1.3.0b1-buildid.patch Group: Development/C # Automatically added by buildreq on Sat Nov 13 2010 BuildRequires: gcc-c++ libproj-devel BuildRequires: libproj-devel >= 4.4.1 %package devel Summary: Development files for shapelib Group: Development/Other Requires: %name = %version-%release %description The Shapefile C Library provides the ability to write simple C programs for reading, writing and updating (to a limited extent) ESRI Shapefiles, and the associated attribute file (.dbf). %description devel This package contains libshp and the appropriate header files. %prep %setup -n %oname-%version %patch0 -p1 -b .makefile %patch1 -p1 -b .makefile2 %patch2 -p1 -b .endian %patch3 -p1 -b .buildid %__subst "s/\r//g" README chmod -x README %build %make_build libdir=%_libdir CFLAGS="$RPM_OPT_FLAGS" lib %make_build libdir=%_libdir CFLAGS="$RPM_OPT_FLAGS" all cd contrib %make_build libdir=%_libdir EXTRACFLAGS="$RPM_OPT_FLAGS" %install %makeinstall rm -f %buildroot/%_libdir/libshp.a cd contrib %makeinstall %files %_bindir/* %_libdir/*.so.* %doc LICENSE.LGPL README README.tree web/*.html %doc contrib/doc/shpproj.txt stream1.sh stream1.out stream2.sh %doc stream2.out makeshape.sh stream3.out ChangeLog %files devel %doc LICENSE.LGPL README %_includedir/libshp/ %_libdir/*.so %changelog * Sat Nov 13 2010 Vitaly Lipatov <lav@altlinux.ru> 1.3.0b2-alt1 - initial build for ALT Linux Sisyphus * Wed May 19 2010 Lucian Langa <cooly@gnome.eu.org> - 1.3.0b2-6 - update to latest upstream beta * Tue Mar 09 2010 Lucian Langa <cooly@gnome.eu.org> - 1.3.0b1-5 - update to latest upstream version * Fri Feb 19 2010 Lucian Langa <cooly@gnome.eu.org> - 1.2.10-2.20100216cvs - update patch0-3 fix undefined symbols * Tue Feb 16 2010 Lucian Langa <cooly@gnome.eu.org> - 1.2.10-1.20100216cvs - revert to latest cvs snapshot * Thu Feb 04 2010 Lucian Langa <cooly@gnome.eu.org> - 1.3.0b1-4 - misc cleanups * Thu Feb 04 2010 Lucian Langa <cooly@gnome.eu.org> - 1.3.0b1-3 - do not package static libfiles (#556094) * Thu Jan 07 2010 Lucian Langa <cooly@gnome.eu.org> - 1.3.0b1-2 - fix patch2 - no not depend on gdal * Thu Jan 07 2010 Lucian Langa <cooly@gnome.eu.org> - 1.3.0b1-1 - misc cleanups - update BR - fix source0 - update to latest upstream snapshot * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.10-20.20060304cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.10-19.20060304cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.10-18.20060304cvs - fix patch application * Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.10-17.20060304cvs - fix license tag * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.10-16.20060304cvs - Autorebuild for GCC 4.3 * Sun Oct 21 2007 Shawn McCann <mccann0011@hotmail.com> - 1.2.10-15.20060304cvs - Fix for bug 339931 * Sat Sep 16 2006 Shawn McCann <mccann0011@hotmail.com> - 1.2.10-12.20060304cvs - Rebuild for FC6 * Sun Mar 5 2006 Shawn McCann <mccann0011@hotmail.com> - 1.2.10-11.20060304cvs - Fixed a makefile bug that messed up parallel builds * Sat Mar 4 2006 Shawn McCann <mccann0011@hotmail.com> - 1.2.10-10.20060304cvs - Upgraded to cvs snapshot taken on March 4, 2006 * Sat Mar 4 2006 Shawn McCann <mccann0011@hotmail.com> - 1.2.10-9 - Rebuild for Fedora Extras 5 * Mon Apr 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.10-8 - Fix "invalid lvalue in assignment" for GCC4. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - rebuilt * Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0:1.2.10-6 - Don't hard-code endianness; just use endian.h * Wed Dec 15 2004 David M. Kaplan <dmk@erizo.ucdavis.edu> 0:1.2.10-5 - Patched patch and spec file according to suggestions of Michael Schwendt - In particular, this separates the building from the installing in the rpm. * Thu Aug 12 2004 David M. Kaplan <dmk@erizo.ucdavis.edu> 0:1.2.10-0.fdr.4 - Moved RPM_OPT_FLAGS out of make files. - Removed backup files from patch. - Made sure that make was using the appropriate libdir. * Mon Dec 22 2003 David M. Kaplan <dmk@erizo.ucdavis.edu> 0:1.2.10-0.fdr.3 - Added url tag, changed copyright to license and changed permissions on patch file. * Mon Dec 22 2003 David M. Kaplan <dmk@erizo.ucdavis.edu> 0:1.2.10-0.fdr.2 - Add source URL - Removed proj requirement as it is automatically detected. - Added epoch to proj-devel requirement - Fixed post and postun - Changed group to Development/Libraries, although this appears to be only somewhat satisfactory. - Removed "which make" * Wed Nov 5 2003 David M. Kaplan <dmk@erizo.ucdavis.edu> 0:1.2.10-0.fdr.1 - Updated to 1.2.10 release - Major changes to spec for Fedora - Changes to Makefile patch for Fedora - Split off devel package |