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