diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-10-24 04:26:17 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-10-24 04:26:17 -0700 |
commit | 47ba2ace28859872fa116aecc31beb56f548d469 (patch) | |
tree | 994eb6acac00139c03b8243492b8b3ed84cdbddc /packaging | |
parent | 16461e93289f85f7b46f64973a5ed8e9a9040189 (diff) | |
download | subsurface-47ba2ace28859872fa116aecc31beb56f548d469.tar.gz |
Create packaging directory and add spec and changes file
These work for me on OBS
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/subsurface.changes | 23 | ||||
-rw-r--r-- | packaging/subsurface.spec | 44 |
2 files changed, 67 insertions, 0 deletions
diff --git a/packaging/subsurface.changes b/packaging/subsurface.changes new file mode 100644 index 000000000..235bfb9d8 --- /dev/null +++ b/packaging/subsurface.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Mon Oct 24 02:12:27 PDT 2011 - Dirk Hohndel <dirk@hohndel.org> 1.1-4 + +- upgrade to subsurface 1.1 + +------------------------------------------------------------------- +Wed Oct 12 10:26:59 PDT 2011 - Dirk Hohndel <dirk@hohndel.org> 1.0-3 + +- beat desktop file and other install issues into submission + +------------------------------------------------------------------- +Tue Oct 11 21:21:10 PDT 2011 - Dirk Hohndel <dirk@hohndel.org> 1.0-2 + +- update to newer version that brings Makefile changes and + desktop integration + +-------------------------------------------------------------------- +Sun Oct 9 21:53:28 PDT 2011 - Dirk Hohndel <dirk@hohndel.org> 1.0-1 + +- create spec file for subsurface + + + 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 |