source: git/survex.spec.in @ 272e4af

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 272e4af was 64d37a3, checked in by Olly Betts <olly@…>, 20 years ago

Sync with 1.0 branch.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@2632 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[2b09f38]1# @configure_input@
[96c5d34]2Summary: Cave Surveying Software
3Name: @PACKAGE@
4Vendor: The Survex Project
5Version: @VERSION@
6Release: @RELEASE@
[b462168]7License: GPL
[96c5d34]8Group: Applications/Misc
9Source: http://www.survex.com/software/@VERSION@/@PACKAGE@-@VERSION@.tar.gz
10URL: http://www.survex.com/
11Packager: Olly Betts <olly@survex.com>
[b462168]12#Can't build with rpm on debian with this next line uncommented:
13#BuildRequires: wxGTK-devel >= 2.4.0
14BuildRoot: %{_tmppath}/%{name}-buildroot
[96c5d34]15
16%description
17@DESC@
18
19%package aven
20Summary: Aven viewer for Survex
21Group: Applications/Misc
[b462168]22Requires: survex = @VERSION@, wxGTK >= 2.4.0
[96c5d34]23
24%description aven
25@AVENDESC@
26
[27b8b59]27%package svxedit
28Summary: SvxEdit survey data editor for Survex
29Group: Applications/Misc
30Requires: survex = @VERSION@
31
32%description svxedit
33@SVXEDITDESC@
34
[96c5d34]35%prep
36%setup
37
38%build
[b462168]39[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
[96c5d34]40./configure --prefix=/usr
41make
42
43%install
[b462168]44[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
45[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
46mkdir -p "%{buildroot}"
47make install-strip DESTDIR="%{buildroot}"
[64d37a3]48# Rearrange to conform to the FHS.
[b462168]49mv "%{buildroot}"/usr/man "%{buildroot}"/usr/share/man
[64d37a3]50# Move docs back into build tree to keep rpmbuild happy by letting
51# it do the installing.
52mv "%{buildroot}"/usr/doc/@PACKAGE@ ./built-docs
[96c5d34]53
54%clean
[b462168]55[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
56[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
[96c5d34]57
58%files
[b462168]59%defattr(-, root, root)
[96c5d34]60%doc @EXTRA_TEXT@
[64d37a3]61%doc built-docs/*
[b462168]62%doc /usr/share/man/
63%exclude /usr/share/man/man1/aven*
64%exclude /usr/share/man/man1/svxedit*
65/usr/bin/*
66%exclude /usr/bin/aven
67%exclude /usr/bin/svxedit
68/usr/share/@PACKAGE@/
69%exclude /usr/share/@PACKAGE@/icons/????*.png
70/usr/share/mime-info/survex.*
[96c5d34]71%files aven
[b462168]72%defattr(-, root, root)
[27b8b59]73%doc /usr/share/man/man1/aven*
[96c5d34]74/usr/bin/aven
[27b8b59]75/usr/share/@PACKAGE@/icons/????*.png
76%files svxedit
[b462168]77%defattr(-, root, root)
[27b8b59]78%doc /usr/share/man/man1/svxedit*
79/usr/bin/svxedit
Note: See TracBrowser for help on using the repository browser.