summaryrefslogtreecommitdiffstats
path: root/funpl
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-05-03 19:37:37 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-05-03 19:37:37 +0700
commit65c49c8f500885792e42b1abb4b0a18d5293606b (patch)
treebc4b9557e7bd1db2370910f60993aa2472403ffb /funpl
parent464da4611097e9a9ce4d69fca84c05db1c4f0137 (diff)
downloadspecs-65c49c8f500885792e42b1abb4b0a18d5293606b.tar.gz
specs-65c49c8f500885792e42b1abb4b0a18d5293606b.tar.xz
specs-65c49c8f500885792e42b1abb4b0a18d5293606b.zip
hop: update to 2.3.0, incorporate review feedback
Diffstat (limited to 'funpl')
-rw-r--r--funpl/hop.spec31
1 files changed, 25 insertions, 6 deletions
diff --git a/funpl/hop.spec b/funpl/hop.spec
index 876ff7f..c989317 100644
--- a/funpl/hop.spec
+++ b/funpl/hop.spec
@@ -1,22 +1,31 @@
-%global prerel rc2
+# find-debuginfo.sh cannot find Scheme source files
+%global debug_package %{nil}
+
%global s2js_obsEVR 20110717-4
Name: hop
Version: 2.3.0
-Release: 0.%{prerel}.1%{?dist}
+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}-%{prerel}.tar.gz
+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
@@ -41,9 +50,9 @@ HOP features:
%prep
-%setup -q -n %{name}-%{version}-%{prerel}
+%setup -q -n %{name}-%{version}
# fix ChangeLog encoding
-iconv -f ISO-8859-1 ChangeLog > ChangeLog.utf8
+iconv -f ISO-8859-1 -t UTF-8 ChangeLog > ChangeLog.utf8
touch -r ChangeLog ChangeLog.utf8
mv ChangeLog.utf8 ChangeLog
@@ -59,7 +68,6 @@ 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
@@ -68,6 +76,9 @@ 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
@@ -81,6 +92,14 @@ rm $RPM_BUILD_ROOT%{_libdir}/hop/*/*.a
%changelog
+* Thu May 3 2012 Michel Salim <salimma@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@fedoraproject.org> - 2.3.0-0.rc2.1
- Initial package