[chronojump] Ismael Olea improves on packaging rpm and deb
- From: Xavier de Blas <xaviblas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [chronojump] Ismael Olea improves on packaging rpm and deb
- Date: Wed, 26 Aug 2009 16:23:50 +0000 (UTC)
commit 7d966a6f69811507d230f9fbc16c4314f8a7ba04
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Aug 26 18:23:11 2009 +0200
Ismael Olea improves on packaging rpm and deb
build/debian/control | 7 +++-
build/debian/copyright | 2 +-
chronojump.spec | 88 +++++++++++++++++++++++++++++++++++++++++++++
po/Makefile.am | 3 +-
src/Makefile.am | 1 +
src/chronojump.desktop.in | 9 +++--
6 files changed, 102 insertions(+), 8 deletions(-)
---
diff --git a/build/debian/control b/build/debian/control
index b3f5116..6600e24 100644
--- a/build/debian/control
+++ b/build/debian/control
@@ -9,5 +9,8 @@ Package: chronojump
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},mono-runtime, libgtk2.0-cil, libmono2.0-cil, libmono-data2.0-cil, libmono-sqlite2.0-cil, libmono-posix2.0-cil
Description: ChronoJump
- Open hardware, free software complete system for measurement, management and statistics of sport short-time tests.
- Chronojump is used by trainers, teachers and students.
+ ChronoJump is an open hardware, free software, multiplatform complete system for measurement, management and statistics of sport short-time tests.
+
+ Chronojump uses contact platform and/or photocells, and also a chronometer printed circuit designed ad-hoc in order to obtain precise and trustworthy measurements.
+
+ Chronojump is used by trainers, teachers and students.
diff --git a/build/debian/copyright b/build/debian/copyright
index 4fd334a..7880dd8 100644
--- a/build/debian/copyright
+++ b/build/debian/copyright
@@ -10,7 +10,7 @@ Upstream Author(s):
Copyright:
- Copyright (C) 2004-2009 Xavier de Bla <xaviblas gmail com>
+ Copyright (C) 2004-2009 Xavier de Blas <xaviblas gmail com>
License:
diff --git a/chronojump.spec b/chronojump.spec
new file mode 100644
index 0000000..c578ce1
--- /dev/null
+++ b/chronojump.spec
@@ -0,0 +1,88 @@
+Name: chronojump
+Version: 0.8.9.5
+Release: 1%{?dist}
+Summary: A measurement, management and statistics sport testing tool
+
+Group: Applications/Engineering
+License: GPLv2+
+URL: http://chronojump.org
+Source0: http://ftp.gnome.org/pub/GNOME/sources/chronojump/0.8/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: mono-core pkgconfig mono-data-sqlite gtk-sharp2 gtk-sharp2-devel desktop-file-utils gettext
+Requires: mono-core mono-data-sqlite gtk-sharp2
+
+%description
+ChronoJump is an open hardware, free software, multiplatform complete system
+for measurement, management and statistics of sport short-time tests.
+
+Chronojump uses a contact platform and/or photocells,
+and also a chronometer printed circuit designed ad-hoc in
+order to obtain precise and trustworthy measurements.
+
+Chronojump is used by trainers, teachers and students.
+
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+# this file should be in the standard dir
+rm %{buildroot}/%{_datadir}/doc/chronojump/chronojump_manual_es.pdf
+
+# removing non used files:
+rm %{buildroot}/%{_libdir}/chronojump/libchronopic.a
+
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{buildroot}%{_datadir}/applications/chronojump.desktop
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/chronojump
+%{_bindir}/chronojump_mini
+%{_bindir}/test-accuracy
+%{_bindir}/test-jumps
+%{_bindir}/test-stream
+%dir %{_libdir}/chronojump
+%{_libdir}/chronojump/*
+%dir %{_datadir}/chronojump
+%{_datadir}/chronojump/*
+%{_datadir}/icons/hicolor/48x48/apps/chronojump.png
+%{_datadir}/applications/chronojump.desktop
+
+%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/chronojump.mo
+%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/chronojump.mo
+%lang(dz) %{_datadir}/locale/dz/LC_MESSAGES/chronojump.mo
+%lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/chronojump.mo
+%lang(es) %{_datadir}/locale/es/LC_MESSAGES/chronojump.mo
+%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/chronojump.mo
+%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/chronojump.mo
+%lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/chronojump.mo
+%lang(oc) %{_datadir}/locale/oc/LC_MESSAGES/chronojump.mo
+%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/chronojump.mo
+%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/chronojump.mo
+%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/chronojump.mo
+%lang(vi) %{_datadir}/locale/vi/LC_MESSAGES/chronojump.mo
+%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/chronojump.mo
+
+%doc README COPYING AUTHORS manual/chronojump_manual_es.pdf
+
+
+%changelog
+
+* Tue Aug 25 2009 <ismael olea org> 0.8.9.5-1
+- first release
diff --git a/po/Makefile.am b/po/Makefile.am
index 906615b..da925be 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -1,4 +1,5 @@
+DESTDIR =
EXTRA_DIST =
@@ -8,7 +9,7 @@ include $(top_srcdir)/Makefile.include
PACKAGE = @PACKAGE@
BUILD_DIR = GMO
-INSTALL_DIR = $(prefix)/share/locale
+INSTALL_DIR = $(DESTDIR)$(prefix)/share/locale
FILES = \
ar.po\
diff --git a/src/Makefile.am b/src/Makefile.am
index 6793e2e..cec97ba 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -193,6 +193,7 @@ CHRONOJUMP_MINI_FILES=\
chronojump_mini.cs\
chronopic.cs\
util.cs\
+ utilDate.cs\
log.cs\
constants.cs
diff --git a/src/chronojump.desktop.in b/src/chronojump.desktop.in
index 0404088..fb082ed 100755
--- a/src/chronojump.desktop.in
+++ b/src/chronojump.desktop.in
@@ -1,11 +1,12 @@
[Desktop Entry]
-Version= VERSION@
-Encoding=UTF-8
Name=ChronoJump
Type=Application
Exec=chronojump
Terminal=false
-GenericName[es_ES]=
-Categories=Education;Sports;
+GenericName[es]=Sistema de control de saltos
+GenericName=Jump test control system
+Comment=A measurement, management and statistics sport testing tool
+Comment[es]=Herramienta de medidas, gestión y estadÃsticas de salto deportivo
+Categories= Education;Science;Sports;
Icon= prefix@/share/icons/hicolor/48x48/apps/chronojump.png
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]