RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change
on this file since 034d04dc was
034d04dc,
checked in by Olly Betts <olly@…>, 13 years ago
|
survex.spec.in: Man pages are no longer installed in /usr/man so
no need to move them from there. Package aven.svg. Package
files for vim support. (Fixes from James Begley)
git-svn-id: file:///home/survex-svn/survex/trunk@3757 4b37db11-9a0c-4f06-9ece-9ab7cdaee568
|
-
Property mode set to
100644
|
File size:
1.7 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: http://survex.com/software/@VERSION@/@PACKAGE@-@VERSION@.tar.gz |
---|
10 | URL: http://survex.com/ |
---|
11 | Packager: Olly Betts <olly@survex.com> |
---|
12 | BuildRequires: wxGTK-devel >= 2.6.0 |
---|
13 | Requires: wxGTK >= 2.6.0 |
---|
14 | BuildRoot: %{_tmppath}/%{name}-buildroot |
---|
15 | |
---|
16 | %description |
---|
17 | @DESC@ |
---|
18 | |
---|
19 | %package svxedit |
---|
20 | Summary: SvxEdit survey data editor for Survex |
---|
21 | Group: Applications/Misc |
---|
22 | Requires: survex = @VERSION@ |
---|
23 | |
---|
24 | %description svxedit |
---|
25 | @SVXEDITDESC@ |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup |
---|
29 | |
---|
30 | %build |
---|
31 | [ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1 |
---|
32 | ./configure --prefix=/usr |
---|
33 | make |
---|
34 | |
---|
35 | %install |
---|
36 | [ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1 |
---|
37 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
38 | mkdir -p "%{buildroot}" |
---|
39 | make install-strip DESTDIR="%{buildroot}" |
---|
40 | make -C vim vimdir=/usr/share/vim install DESTDIR="%{buildroot}" |
---|
41 | # Move docs back into build tree to keep rpmbuild happy by letting |
---|
42 | # it do the installing. |
---|
43 | mv "%{buildroot}"/usr/share/doc/@PACKAGE@ ./built-docs |
---|
44 | |
---|
45 | %clean |
---|
46 | [ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1 |
---|
47 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
48 | |
---|
49 | %files |
---|
50 | %defattr(-, root, root) |
---|
51 | %doc @EXTRA_TEXT@ |
---|
52 | %doc built-docs/* |
---|
53 | %doc /usr/share/man/ |
---|
54 | %exclude /usr/share/man/man1/svxedit* |
---|
55 | /usr/bin/* |
---|
56 | %exclude /usr/bin/svxedit |
---|
57 | /usr/share/@PACKAGE@/ |
---|
58 | /usr/share/mime-info/survex.* |
---|
59 | /usr/share/applications/survex-aven.desktop |
---|
60 | /usr/share/pixmaps/aven.* |
---|
61 | /usr/share/vim/ |
---|
62 | |
---|
63 | %files svxedit |
---|
64 | %defattr(-, root, root) |
---|
65 | %doc /usr/share/man/man1/svxedit* |
---|
66 | /usr/bin/svxedit |
---|
67 | /usr/share/applications/survex-svxedit.desktop |
---|
68 | /usr/share/pixmaps/svxedit.* |
---|
Note: See
TracBrowser
for help on using the repository browser.