[hop] Initial import

Michel Alexandre Salim salimma at fedoraproject.org
Fri May 4 12:48:20 UTC 2012


commit 4462e92a6234ab76ade041add924c950b41389ac
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Fri May 4 19:48:30 2012 +0700

    Initial import

 .gitignore |    1 +
 hop.spec   |  105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 107 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e4adeff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hop-2.3.0.tar.gz
diff --git a/hop.spec b/hop.spec
new file mode 100644
index 0000000..c989317
--- /dev/null
+++ b/hop.spec
@@ -0,0 +1,105 @@
+# find-debuginfo.sh cannot find Scheme source files
+%global debug_package %{nil}
+
+%global s2js_obsEVR 20110717-4
+
+Name:           hop
+Version:        2.3.0
+Release:        1%{?dist}
+Summary:        A web development kit
+
+License:        GPLv2+
+URL:            http://hop.inria.fr/
+Source0:        ftp://ftp-sop.inria.fr/indes/fp/Hop/hop-%{version}.tar.gz
+
+# Bigloo is not available on ppc64
+ExcludeArch:    ppc64
+
+BuildRequires:  bigloo
+BuildRequires:  avahi-devel
+BuildRequires:  openssl-devel
+BuildRequires:  sqlite-devel
+#Requires:       
+# obsolete the last stand-alone scheme2js release
+# not providing since there's no longer an exposed CLI for invoking
+# scheme2js
+# see
+# http://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages
+# http://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages#Do_I_need_to_Provide_my_old_package_names.3F
+Obsoletes:      scheme2js < %{s2js_obsEVR}
+
+%description
+Hop is a new programming language designed for the Web 2.0. It is a
+higher-order language for programming interactive web applications
+such as web agendas, web galleries, music players, etc. Hop can be
+viewed as a replacement for traditional graphical toolkits. HOP is
+implemented as a Web broker, i.e., a Web server that may act
+indifferently as a regular Web server or Web proxy.
+
+HOP features:
+
+    * an extensive set of widgets for programming fancy GUIs.
+    * an extensive set of libraries for:
+          o handling database accesses.
+          o dealing with network connections.
+          o parsing wiki documents.
+          o supporting various protocols such as IMAP, ICALENDAR, ...
+          o supporting various formats such as EXIF, ID3, ...
+          o parsing and generating XML documents.
+          o ...
+
+
+%prep
+%setup -q -n %{name}-%{version}
+# fix ChangeLog encoding
+iconv -f ISO-8859-1 -t UTF-8 ChangeLog > ChangeLog.utf8
+touch -r ChangeLog ChangeLog.utf8
+mv ChangeLog.utf8 ChangeLog
+
+
+%build
+# optflags inherited from Bigloo
+./configure \
+  --prefix=%{_prefix} \
+  --libdir=%{_libdir} \
+  --mandir=%{_mandir} \
+  --etcdir=%{_sysconfdir}
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+# remove 
+# mark sofiles executable so they are detected by find-debuginfo.sh
+# http://fedoraproject.org/wiki/Packaging:Debuginfo#Useless_or_incomplete_debuginfo_packages_due_to_packaging_issues
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/hop/*/*.so.*
+# remove static archives
+rm $RPM_BUILD_ROOT%{_libdir}/hop/*/*.a
+
+# manually strip binaries and libraries, since find-debuginfo.sh is not run
+strip $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_libdir}/hop/*/lib*.so.*
+
+
+%files
+%doc LICENSE ChangeLog README
+%{_bindir}/hop*
+%{_libdir}/hop
+%{_libdir}/libhop*.so.*
+%{_libdir}/libscheme2js*.so.*
+%{_datadir}/hop
+%{_mandir}/man1/hop*.1*
+%config(noreplace) %{_sysconfdir}/hop*rc.hop
+
+
+%changelog
+* Thu May  3 2012 Michel Salim <salimma at fedoraproject.org> - 2.3.0-1
+- Update to final 2.3.0 release
+- ExcludeArch ppc64, matching Bigloo
+- Add BR on sqlite-devel
+- %%prep: Explicitly specify encoding conversion target
+- no longer redundantly clean buildroot in %%install
+- Disable debuginfo generation for now
+
+* Sat Apr  7 2012 Michel Salim <salimma at fedoraproject.org> - 2.3.0-0.rc2.1
+- Initial package
+
diff --git a/sources b/sources
index e69de29..2c4696d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+61c3ce4bffe29df15378df4ecb272466  hop-2.3.0.tar.gz


More information about the scm-commits mailing list