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