rebuilt [release 0.5.3-2mamba;Mon Apr 13 2015]
This commit is contained in:
parent
ce99d0618d
commit
a1f0bbefab
@ -1,8 +1,9 @@
|
||||
%define ghc_ver %(ghc --version | sed "s|.*version ||")
|
||||
%define pkgname %(echo %name | sed "s|^ghc-||")
|
||||
%define ghc_ver %(ghc --numeric-version)
|
||||
%define pkgname data-default
|
||||
|
||||
Name: ghc-data-default
|
||||
Version: 0.5.3
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: GHC default data library.
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -34,10 +35,14 @@ GHC default data library.
|
||||
%setup -q -n data-default-%{version}
|
||||
|
||||
%build
|
||||
runghc Setup.lhs configure \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir}
|
||||
runghc Setup.lhs configure -v2 \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
--libexecdir=%{_libexecdir} \
|
||||
--docdir=%{_docdir}/%{name}-%{version}
|
||||
|
||||
runghc Setup.lhs build
|
||||
runghc Setup.lhs haddock --executable --html-location=URL --hyperlink-source
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -49,19 +54,21 @@ runghc Setup.lhs register \
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
ghc-pkg register %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf &>/dev/null || true
|
||||
:
|
||||
ghc-pkg register %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf &>/dev/null || :
|
||||
|
||||
%preun
|
||||
ghc-pkg unregister %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf &>/dev/null || true
|
||||
:
|
||||
ghc-pkg unregister %{pkgname}-%{version} &>/dev/null || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}
|
||||
%{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/*
|
||||
%{_datadir}/doc/%{pkgname}-%{version}/LICENSE
|
||||
%{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}
|
||||
%dir %{_docdir}/%{name}-%{version}
|
||||
%{_docdir}/%{name}-%{version}/LICENSE
|
||||
%{_docdir}/%{name}-%{version}/html
|
||||
|
||||
%changelog
|
||||
* Mon Apr 13 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.5.3-2mamba
|
||||
- rebuilt
|
||||
|
||||
* Sun Sep 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-1mamba
|
||||
- package created by silvan using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user