mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
459130009b
In preparation for a subsurface-icon.h, this should avoid confusion about whether "subsurface.h" is a core header file. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
44 lines
923 B
RPMSpec
44 lines
923 B
RPMSpec
Name: subsurface
|
|
Summary: Simple Dive Log Program
|
|
Version: 1.1
|
|
Release: 5
|
|
License: GPLv2
|
|
URL: http://subsurface.hohndel.org
|
|
Source0: subsurface-1.1.tar.gz
|
|
BuildRequires: pkgconfig gtk2-devel glib2-devel libxml2-devel libdivecomputer0-devel
|
|
%if 0%{?suse_version}
|
|
BuildRequires: gconf2-devel update-desktop-files
|
|
%else
|
|
BuildRequires: GConf2-devel
|
|
%endif
|
|
|
|
Group: Productivity/Other
|
|
|
|
%description
|
|
subsurface is a simple dive log program written in C
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%install
|
|
make install prefix=%buildroot/usr
|
|
%if 0%{?suse_version}
|
|
%suse_update_desktop_file -r %{name} Utility SyncUtility
|
|
%endif
|
|
rm %{buildroot}/%{_datadir}/icons/hicolor/icon-theme.cache
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/subsurface
|
|
%{_datadir}/applications/subsurface.desktop
|
|
%{_datadir}/icons/hicolor/scalable/apps/subsurface-icon.svg
|
|
%{_datadir}/man/man1/subsurface.1.gz
|
|
|
|
|
|
%changelog
|