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