2 Summary: Cave Surveying Software
4 Vendor: The Survex Project
8 Group: Applications
/Misc
9 Source: http
://survex.com
/software
/@VERSION@
/@PACKAGE@
-@VERSION@.tar.gz
10 URL: http
://survex.com
/
11 Packager: Olly Betts
<olly@survex.com
>
12 # If your distro doesn't have wxGTK3-devel and wxGTK3 yet, use these
13 # dependencies instead:
14 #BuildRequires: wxGTK-devel >= 2.8.0, proj-devel
15 #Requires: wxGTK >= 2.8.0, proj, proj-epsg
16 BuildRequires
: wxGTK3
-devel
, proj
-devel
17 Requires: wxGTK3
, proj
, proj
-epsg
18 BuildRoot: %{_tmppath}/%{name}-buildroot
27 [ "
%{buildroot}"
= "
/"
] && echo "buildroot cannot be
/"
&& exit 1
28 .
/configure
--prefix
=/usr
32 [ "
%{buildroot}"
= "
/"
] && echo "buildroot cannot be
/"
&& exit 1
33 [ "
%{buildroot}" != "/" ] && rm -rf %{buildroot}
34 mkdir -p "
%{buildroot}"
35 make install-strip DESTDIR
="
%{buildroot}"
36 make -C vim vimdir
=/usr
/share
/vim
install DESTDIR
="
%{buildroot}"
37 # Move docs back into build tree to keep rpmbuild happy by letting
38 # it do the installing.
39 mv "
%{buildroot}"
/usr
/share
/doc
/@PACKAGE@ .
/built
-docs
42 [ "
%{buildroot}"
= "
/"
] && echo "buildroot cannot be
/"
&& exit 1
43 [ "
%{buildroot}" != "/" ] && rm -rf %{buildroot}
46 %defattr(-, root
, root
)
52 /usr
/share
/mime
-info
/survex.
*
53 /usr
/share
/applications
/survex
-aven.desktop