source: git/survex.spec.in @ fe09c35

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernlogstereowalls-datawalls-data-hanging-as-warning
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
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
[d417499]9Source: https://survex.com/software/@VERSION@/@PACKAGE@-@VERSION@.tar.gz
10URL: https://survex.com/
[96c5d34]11Packager: Olly Betts <olly@survex.com>
[96a7629]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
[ad4e7b08]15#Requires: wxGTK >= 2.8.0, proj, proj-epsg
[96a7629]16BuildRequires: wxGTK3-devel, proj-devel
[ad4e7b08]17Requires: wxGTK3, proj, proj-epsg
[b462168]18BuildRoot: %{_tmppath}/%{name}-buildroot
[96c5d34]19
20%description
21@DESC@
22
23%prep
24%setup
25
26%build
[b462168]27[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
[96c5d34]28./configure --prefix=/usr
29make
30
31%install
[b462168]32[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
33[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
34mkdir -p "%{buildroot}"
[129a061]35make install DESTDIR="%{buildroot}"
[839db8b]36make -C vim vimdir=/usr/share/vim install DESTDIR="%{buildroot}"
[64d37a3]37# Move docs back into build tree to keep rpmbuild happy by letting
38# it do the installing.
[d0a7bba]39mv "%{buildroot}"/usr/share/doc/@PACKAGE@ ./built-docs
[96c5d34]40
41%clean
[b462168]42[ "%{buildroot}" = "/" ] && echo "buildroot cannot be /" && exit 1
43[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
[96c5d34]44
45%files
[b462168]46%defattr(-, root, root)
[96c5d34]47%doc @EXTRA_TEXT@
[64d37a3]48%doc built-docs/*
[b462168]49%doc /usr/share/man/
50/usr/bin/*
51/usr/share/@PACKAGE@/
[129a061]52/usr/share/mime/
[fa62c87]53/usr/share/applications/survex-aven.desktop
[66bfec8]54/usr/share/icons/
[034d04dc]55/usr/share/vim/
Note: See TracBrowser for help on using the repository browser.