RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change
on this file since fe09c35 was
d417499,
checked in by Olly Betts <olly@…>, 8 years ago
|
Prefer https for survex.com and other sites which support it
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | # @configure_input@ |
---|
2 | Summary: Cave Surveying Software |
---|
3 | Name: @PACKAGE@ |
---|
4 | Vendor: The Survex Project |
---|
5 | Version: @VERSION@ |
---|
6 | Release: @RELEASE@ |
---|
7 | License: GPL |
---|
8 | Group: Applications/Misc |
---|
9 | Source: https://survex.com/software/@VERSION@/@PACKAGE@-@VERSION@.tar.gz |
---|
10 | URL: https://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 |
---|
19 | |
---|
20 | %description |
---|
21 | @DESC@ |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup |
---|
25 | |
---|
26 | %build |
---|
27 | [ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1 |
---|
28 | ./configure --prefix=/usr |
---|
29 | make |
---|
30 | |
---|
31 | %install |
---|
32 | [ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1 |
---|
33 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
34 | mkdir -p "%{buildroot}" |
---|
35 | make install 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 |
---|
40 | |
---|
41 | %clean |
---|
42 | [ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1 |
---|
43 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
44 | |
---|
45 | %files |
---|
46 | %defattr(-, root, root) |
---|
47 | %doc @EXTRA_TEXT@ |
---|
48 | %doc built-docs/* |
---|
49 | %doc /usr/share/man/ |
---|
50 | /usr/bin/* |
---|
51 | /usr/share/@PACKAGE@/ |
---|
52 | /usr/share/mime/ |
---|
53 | /usr/share/applications/survex-aven.desktop |
---|
54 | /usr/share/icons/ |
---|
55 | /usr/share/vim/ |
---|
Note: See
TracBrowser
for help on using the repository browser.