source: git/survex.spec.in @ 105831f

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 105831f was fa62c87, checked in by Olly Betts <olly@…>, 18 years ago

Updated to eliminate separate aven package.
Package .desktop files and pixmaps.

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

  • Property mode set to 100644
File size: 1.7 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
[fa62c87]14Requires: wxGTK >= 2.4.0
[b462168]15BuildRoot: %{_tmppath}/%{name}-buildroot
[96c5d34]16
17%description
18@DESC@
19
[27b8b59]20%package svxedit
21Summary: SvxEdit survey data editor for Survex
22Group: Applications/Misc
23Requires: survex = @VERSION@
24
25%description svxedit
26@SVXEDITDESC@
27
[96c5d34]28%prep
29%setup
30
31%build
[b462168]32[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
[96c5d34]33./configure --prefix=/usr
34make
35
36%install
[b462168]37[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
38[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
39mkdir -p "%{buildroot}"
40make install-strip DESTDIR="%{buildroot}"
[64d37a3]41# Rearrange to conform to the FHS.
[b462168]42mv "%{buildroot}"/usr/man "%{buildroot}"/usr/share/man
[64d37a3]43# Move docs back into build tree to keep rpmbuild happy by letting
44# it do the installing.
45mv "%{buildroot}"/usr/doc/@PACKAGE@ ./built-docs
[96c5d34]46
47%clean
[b462168]48[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
49[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
[96c5d34]50
51%files
[b462168]52%defattr(-, root, root)
[96c5d34]53%doc @EXTRA_TEXT@
[64d37a3]54%doc built-docs/*
[b462168]55%doc /usr/share/man/
56%exclude /usr/share/man/man1/svxedit*
57/usr/bin/*
58%exclude /usr/bin/svxedit
59/usr/share/@PACKAGE@/
60/usr/share/mime-info/survex.*
[fa62c87]61/usr/share/applications/survex-aven.desktop
62/usr/share/pixmaps/aven.png
63
[27b8b59]64%files svxedit
[b462168]65%defattr(-, root, root)
[27b8b59]66%doc /usr/share/man/man1/svxedit*
67/usr/bin/svxedit
[fa62c87]68/usr/share/applications/survex-svxedit.desktop
69/usr/share/pixmaps/svxedit.png
Note: See TracBrowser for help on using the repository browser.