source: git/survex.spec.in @ 2676b0a

RELEASE/1.0
Last change on this file since 2676b0a was 2676b0a, checked in by Olly Betts <olly@…>, 13 years ago

Backport change from 1.2.0:
survex.spec.in: Update survex.com URLs to drop "www.". Update
wxGTK dependency to >= 2.6.0. Reenable "BuildRequires:" as
the issue with building the package on Debian is no longer
relevant. 2.6.0 may not actually be required for Survex 1.0.x, but
we've not tested with 2.4 in ages, and it's unlikely to still be in
use.

git-svn-id: file:///home/survex-svn/survex/branches/1.0@3729 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@
[b98055b]7License: GPL
[96c5d34]8Group: Applications/Misc
[2676b0a]9Source: http://survex.com/software/@VERSION@/@PACKAGE@-@VERSION@.tar.gz
10URL: http://survex.com/
[96c5d34]11Packager: Olly Betts <olly@survex.com>
[2676b0a]12BuildRequires: wxGTK-devel >= 2.6.0
[28b8159]13BuildRoot: %{_tmppath}/%{name}-buildroot
[96c5d34]14
15%description
16@DESC@
17
18%package aven
19Summary: Aven viewer for Survex
20Group: Applications/Misc
[2676b0a]21Requires: survex = @VERSION@, wxGTK >= 2.6.0
[96c5d34]22
23%description aven
24@AVENDESC@
25
[750a2dd]26%package svxedit
27Summary: SvxEdit survey data editor for Survex
28Group: Applications/Misc
29Requires: survex = @VERSION@
30
31%description svxedit
[4363ca4]32@SVXEDITDESC@
[750a2dd]33
[96c5d34]34%prep
35%setup
36
37%build
[b98055b]38[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
[96c5d34]39./configure --prefix=/usr
40make
41
42%install
[b98055b]43[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
44[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
45mkdir -p "%{buildroot}"
46make install-strip DESTDIR="%{buildroot}"
[2676b0a]47make -C vim vimdir=/usr/share/vim install DESTDIR="%{buildroot}"
[48e336e]48# Rearrange to conform to the FHS.
[b98055b]49mv "%{buildroot}"/usr/man "%{buildroot}"/usr/share/man
[48e336e]50# Move docs back into build tree to keep rpmbuild happy by letting
51# it do the installing.
[da83c18]52mv "%{buildroot}"/usr/share/doc/@PACKAGE@ ./built-docs
[96c5d34]53
54%clean
[851c965]55[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
[b98055b]56[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
[96c5d34]57
58%files
[851c965]59%defattr(-, root, root)
[96c5d34]60%doc @EXTRA_TEXT@
[48e336e]61%doc built-docs/*
[851c965]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
[b98055b]70/usr/share/mime-info/survex.*
[96c5d34]71%files aven
[851c965]72%defattr(-, root, root)
[5069ca2]73%doc /usr/share/man/man1/aven*
[96c5d34]74/usr/bin/aven
[ea3ff04]75/usr/share/@PACKAGE@/icons/????*.png
[750a2dd]76%files svxedit
[851c965]77%defattr(-, root, root)
[5069ca2]78%doc /usr/share/man/man1/svxedit*
[750a2dd]79/usr/bin/svxedit
Note: See TracBrowser for help on using the repository browser.