]> git.pld-linux.org Git - packages/grass.git/blob - grass.spec
- fixed and completed descriptions
[packages/grass.git] / grass.spec
1 Summary:        The Geographic Resources Analysis Support System
2 Summary(pl):    System obs³uguj±cy analizê zasobów geograficznych
3 Name:           grass
4 Version:        5.0.0pre3
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://grass.itc.it/grass5/source/%{name}%{version}.tar.gz
9 URL:            http://grass.itc.it/
10 BuildRequires:  blas-devel
11 #BuildRequires: gdal-devel
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  fftw-devel
14 BuildRequires:  freetype-devel
15 BuildRequires:  gd-devel
16 BuildRequires:  gdbm-devel
17 BuildRequires:  lapack-devel
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libtiff-devel
21 BuildRequires:  motif-devel
22 BuildRequires:  postgresql-devel
23 BuildRequires:  tcl-devel
24 BuildRequires:  tk-devel
25 BuildRequires:  unixODBC-devel
26 BuildRequires:  zlib-devel
27 BuildRequires:  gcc-g77
28 BuildRequires:  flex
29 BuildRequires:  bison
30 BuildRequires:  ncurses-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
34 %define         _prefix         /usr/X11R6
35 %define         _mandir         %{_prefix}/man
36 %define         _sysconfdir     /etc/X11
37
38 %description
39 GRASS (the Geographic Resources Analysis Support System) is a software
40 raster- and vector-based GIS (Geographic Information System), image
41 processing system, graphics production system, and spatial modeling
42 system. GRASS contains many modules for raster data manipulation,
43 vector data manipulation, rendering images on the monitor or paper,
44 multispectral image processing, point data management and general data
45 management. It also has tools for interfacing with digitizers,
46 scanners, and the RIM, Informix, Postgres, and Oracle databases.
47
48 %description -l pl
49 GRASS (System Wspierania Analiz Zasobów Geograficznych) jest rastrowym
50 oraz wektorowym systemem GIS (System Informacji Geograficznej),
51 obróbki obrazów, tworzenia grafiki oraz modelowania przestrzennego.
52 GRASS zawiera wiele modu³ów wspomagaj±cych manipulacjê danymi
53 rastrowymi i wektorowymi, renderowanie obrazów na monitorze lub
54 papierze, obróbkê multispektralnych obrazów, punktowe oraz ogólne
55 zarz±dzanie danymi. Zawiera równie¿ narzêdzia do wspó³pracy z
56 digitizerami, skanerami oraz bazami RIM, Informix, Postgres oraz
57 Oracle.
58
59 %package OpenGL
60 Summary:        NVIZ - a 3D-tool for GRASS
61 Summary(pl):    NVIZ - narzêdzie 3D dla GRASSa
62 Group:          X11/Applications
63 Requires:       %{name} = %{version}
64
65 %description OpenGL
66 Package contains nviz, which is a GRASS module-in-progress which
67 allows users to realistically render multiple surfaces in a 3D space,
68 optionally using thematic coloring, draping GRASS vector files over
69 the surfaces, and displaying GRASS site files either draped on the
70 surfaces or as 3D point locations.
71
72 %description OpenGL -l pl
73 Pakiet zawiera modu³ nviz, który rozszerza funkcjonalno¶æ systemu
74 GRASS o mo¿liwo¶æ realistycznego renderowania wielu powierzchni w
75 trójwymiarowej przestrzeni. Na renderowanych powierzchniach, które
76 mog± byæ tematycznie kolorowane, mo¿na zawieszaæ pliki wektorowe
77 GRASSa.
78
79 %package pg
80 Summary:        PostgreSQL database interface
81 Summary(pl):    Interfejs do bazy PostgreSQL
82 Group:          X11/Applications
83 Requires:       %{name} = %{version}
84
85 %description pg
86 PostgreSQL database interface for GRASS.
87
88 %dewscription pg -l pl
89 Interfejs do bazy PostgreSQL dla GRASSa.
90
91 %package odbc
92 Summary:        ODBC database interface
93 Summary(pl):    Interfejs ODBC dla GRASSa
94 Group:          X11/Applications
95 Requires:       %{name} = %{version}
96
97 %description odbc
98 ODBC database interface for GRASS.
99
100 %description odbc -l pl
101 Interfejs ODBC dla GRASSa.
102
103 %prep
104 %setup -q -n %{name}%{version}
105
106 %build
107 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
108         CPPFLAGS="`pkg-config libpng12 --cflags`"; export CPPFLAGS
109 fi
110 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"; export CFLAGS
111 %configure2_13 \
112         --with-lapack \
113         --with-motif \
114         --with-freetype \
115         --with-includes=%{_includedir} \
116         --with-libs=%{_libdir} \
117         --with-postgres-includes=/usr/include/postgresql/server \
118         --with-freetype-includes=/usr/include/freetype2
119 %{__make}
120
121 %install
122 rm -rf $RPM_BUILD_ROOT
123
124 %{makeinstall}
125
126 #%{__make} install \
127 #       DESTDIR=$RPM_BUILD_ROOT
128
129 gzip -9nf AUTHORS BUGS COPYING NEWS.html ONGOING TODO.txt documents/*.*
130
131 %clean
132 rm -rf $RPM_BUILD_ROOT
133
134 %files
135 %defattr(644,root,root,755)
136 %doc *.gz */*.gz
137 %attr(755,root,root) %{_bindir}/*
This page took 0.102059 seconds and 4 git commands to generate.