]> git.pld-linux.org Git - packages/geos.git/blob - geos.spec
3be3aea130dd3f49fdb5bc2905b8fcafd89f2d8e
[packages/geos.git] / geos.spec
1 Summary:        Geometry Engine - Open Source
2 Summary(pl):    GEOS - silnik geometryczny z otwartymi ¼ród³ami
3 Name:           geos
4 Version:        2.2.0
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://geos.refractions.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  444984e8f55ee9084d7c962255f14801
10 Patch0:         %{name}-config.patch
11 Patch1:         %{name}-gcc4.patch
12 URL:            http://geos.refractions.net/
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 GEOS (Geometry Engine - Open Source) is a C++ port of the Java
19 Topology Suite (JTS). As such, it aims to contain the complete
20 functionality of JTS in C++. This includes all the OpenGIS "Simple
21 Features for SQL" spatial predicate functions and spatial operators,
22 as well as specific JTS topology functions such as IsValid().
23
24 %description -l pl
25 GEOS (Geometry Engine - Open Source, czyli silnik geometryczny z
26 otwartymi ¼ród³ami) to port C++ biblioteki Java Topology Suite (JTS).
27 Celem biblioteki jako takiej jest implementacja pe³nej funkcjonalno¶ci
28 JTS w C++. Obejmuje to wszystkie funkcje predykatów przestrzennych
29 wg "Simple Features for SQL" OpenGIS oraz operatory przestrzenne, a
30 tak¿e specyficzne dla JTS funkcje topologiczne takie jak IsValid().
31
32 %package devel
33 Summary:        Header files for GEOS library
34 Summary(pl):    Pliki nag³ówkowe biblioteki GEOS
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       libstdc++-devel
38
39 %description devel
40 Header files for GEOS library.
41
42 %description devel -l pl
43 Pliki nag³ówkowe biblioteki GEOS.
44
45 %package static
46 Summary:        Static GEOS library
47 Summary(pl):    Statyczna biblioteka GEOS
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static GEOS library.
53
54 %description static -l pl
55 Statyczna biblioteka GEOS.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 cp -f /usr/share/automake/config.* .
64 %configure
65 %{__make} \
66         pkglibdir=%{_libdir}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         pkglibdir=%{_libdir}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc AUTHORS TODO
84 %attr(755,root,root) %{_libdir}/libgeos.so.*.*.*
85 %attr(755,root,root) %{_libdir}/libgeos_c.so.*.*.*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/geos-config
90 %attr(755,root,root) %{_libdir}/libgeos.so
91 %attr(755,root,root) %{_libdir}/libgeos_c.so
92 %{_libdir}/libgeos.la
93 %{_libdir}/libgeos_c.la
94 %{_includedir}/geos
95 %{_includedir}/geos.h
96 %{_includedir}/geos_c.h
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libgeos.a
101 %{_libdir}/libgeos_c.a
This page took 0.071279 seconds and 2 git commands to generate.