summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-04-07 16:24:11 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-04-07 16:24:11 +0700
commit464da4611097e9a9ce4d69fca84c05db1c4f0137 (patch)
treeee7c76dcb730ebf9fbd27849632b441a2e9a105c
parent5c3c54aee89c58fb0d2964d6f4ee3c0cb09a5034 (diff)
downloadspecs-464da4611097e9a9ce4d69fca84c05db1c4f0137.tar.gz
specs-464da4611097e9a9ce4d69fca84c05db1c4f0137.tar.xz
specs-464da4611097e9a9ce4d69fca84c05db1c4f0137.zip
for review: hop 2.3.0-rc2
-rw-r--r--funpl/hop.spec86
1 files changed, 86 insertions, 0 deletions
diff --git a/funpl/hop.spec b/funpl/hop.spec
new file mode 100644
index 0000000..876ff7f
--- /dev/null
+++ b/funpl/hop.spec
@@ -0,0 +1,86 @@
+%global prerel rc2
+%global s2js_obsEVR 20110717-4
+
+Name: hop
+Version: 2.3.0
+Release: 0.%{prerel}.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}-%{prerel}.tar.gz
+
+BuildRequires: bigloo
+BuildRequires: avahi-devel
+BuildRequires: openssl-devel
+#Requires:
+# obsolete the last stand-alone scheme2js release
+# not providing since there's no longer an exposed CLI for invoking
+# scheme2js
+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}-%{prerel}
+# fix ChangeLog encoding
+iconv -f ISO-8859-1 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
+rm -rf $RPM_BUILD_ROOT
+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
+
+
+%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
+* Sat Apr 7 2012 Michel Salim <salimma@fedoraproject.org> - 2.3.0-0.rc2.1
+- Initial package
+