diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-24 13:53:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-24 13:53:19 +0200 |
commit | 7783387b978e5c13a415d0076ab9ff8e1c45bf4c (patch) | |
tree | a8d4115bec965be72f08b668fc777d85987cdd9b /packaging/subsurface.spec | |
parent | bd275d73ac06823619230915a3aa29deddc996fb (diff) | |
parent | 4cf4b9ca28a7a8918bec6198c51af97f96712ba6 (diff) | |
download | subsurface-7783387b978e5c13a415d0076ab9ff8e1c45bf4c.tar.gz |
Merge branch 'bugfixes' of git://github.com/dirkhh/subsurface
* 'bugfixes' of git://github.com/dirkhh/subsurface:
Updated changes file
Create packaging directory and add spec and changes file
Makefile fixes
Diffstat (limited to 'packaging/subsurface.spec')
-rw-r--r-- | packaging/subsurface.spec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/subsurface.spec b/packaging/subsurface.spec new file mode 100644 index 000000000..53b96bc0b --- /dev/null +++ b/packaging/subsurface.spec @@ -0,0 +1,44 @@ +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.svg +%{_datadir}/man/man1/subsurface.1.gz + + +%changelog |