1 Summary: Shapefile C Library
2 Summary(pl.UTF-8): Biblioteka Shapefile dla C
8 Source0: http://download.osgeo.org/shapelib/%{name}-%{version}.tar.gz
9 # Source0-md5: e397d4e7e734537ec36d0491d524b4ea
10 URL: http://shapelib.maptools.org/
11 BuildRequires: autoconf >= 2.62
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: libtool >= 2:2
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The Shapefile C Library provides the ability to write simple C
18 programs for reading, writing and updating (to a limited extent) ESRI
19 Shapefiles, and the associated attribute file (.dbf).
21 %description -l pl.UTF-8
22 Biblioteka C Shapefile daje możliwość pisania prostych programów w C
23 do odczytu, zapisu i uaktualniania (w pewnym zakresie) plików ESRI
24 oraz związanych z nimi plików atrybutów (.dbf).
27 Summary: Header files for shapelib library
28 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki shapelib
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
33 Header files for shapelib library.
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe biblioteki shapelib.
39 Summary: Static shapelib library
40 Summary(pl.UTF-8): Statyczna biblioteka shapelib
41 Group: Development/Libraries
42 Requires: %{name}-devel = %{version}-%{release}
45 Static shapelib library.
47 %description static -l pl.UTF-8
48 Statyczna biblioteka shapelib.
59 --disable-silent-rules
63 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
76 %doc ChangeLog README* web/*.html
77 %attr(755,root,root) %{_bindir}/Shape_PointInPoly
78 %attr(755,root,root) %{_bindir}/dbf*
79 %attr(755,root,root) %{_bindir}/shp*
80 %attr(755,root,root) %{_libdir}/libshp.so.*.*.*
81 %attr(755,root,root) %ghost %{_libdir}/libshp.so.2
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/libshp.so
87 %{_includedir}/shapefil.h
88 %{_pkgconfigdir}/shapelib.pc
91 %defattr(644,root,root,755)