update to 1.13.2 [release 1.13.2-1mamba;Sun Apr 12 2015]
This commit is contained in:
parent
51c2fe0256
commit
eb23637b52
@ -1,16 +1,16 @@
|
|||||||
%define ghc_ver %(ghc --version | sed "s|.*version ||")
|
%define ghc_ver %(ghc --numeric-version)
|
||||||
%define pkgname %(echo %name | sed "s|^ghc-||")
|
%define pkgname pandoc
|
||||||
|
|
||||||
Name: ghc-pandoc
|
Name: ghc-pandoc
|
||||||
Version: 1.11.1
|
Version: 1.13.2
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A library and command-line tool for converting from one markup format to another
|
Summary: GHC library and command-line tool for converting from one markup format to another
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://code.google.com/p/pandoc/
|
URL: http://hackage.haskell.org/package/%{pkgname}
|
||||||
Source: https://pandoc.googlecode.com/files/pandoc-%{version}.tar.gz
|
Source: http://hackage.haskell.org/package/pandoc-%{version}/pandoc-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -23,31 +23,43 @@ BuildRequires: haskell-platform
|
|||||||
BuildRequires: ghc-blaze-html
|
BuildRequires: ghc-blaze-html
|
||||||
BuildRequires: ghc-citeproc-hs
|
BuildRequires: ghc-citeproc-hs
|
||||||
BuildRequires: ghc-extensible-exceptions
|
BuildRequires: ghc-extensible-exceptions
|
||||||
BuildRequires: ghc-pandoc-types < 1.11
|
BuildRequires: ghc-pandoc-types
|
||||||
BuildRequires: ghc-data-default
|
BuildRequires: ghc-data-default
|
||||||
BuildRequires: ghc-json
|
BuildRequires: ghc-json
|
||||||
BuildRequires: ghc-xml
|
BuildRequires: ghc-xml
|
||||||
BuildRequires: ghc-temporary
|
BuildRequires: ghc-temporary
|
||||||
BuildRequires: ghc-tagsoup < 0.13
|
BuildRequires: ghc-tagsoup
|
||||||
BuildRequires: ghc-highlighting-kate
|
BuildRequires: ghc-highlighting-kate
|
||||||
BuildRequires: ghc-texmath
|
BuildRequires: ghc-texmath
|
||||||
BuildRequires: ghc-base64-bytestring
|
BuildRequires: ghc-base64-bytestring
|
||||||
BuildRequires: ghc-zip-archive
|
BuildRequires: ghc-zip-archive
|
||||||
BuildRequires: hscolour
|
BuildRequires: hscolour
|
||||||
BuildRequires: haskell-platform
|
BuildRequires: haskell-platform
|
||||||
|
BuildRequires: ghc-yaml
|
||||||
|
BuildRequires: ghc-hslua
|
||||||
|
BuildRequires: ghc-haddock-library
|
||||||
|
BuildRequires: ghc-SHA
|
||||||
|
BuildRequires: ghc-JuicyPixels
|
||||||
|
BuildRequires: ghc-data-default
|
||||||
Requires: ghc-blaze-html
|
Requires: ghc-blaze-html
|
||||||
Requires: ghc-citeproc-hs
|
Requires: ghc-citeproc-hs
|
||||||
Requires: ghc-extensible-exceptions
|
Requires: ghc-extensible-exceptions
|
||||||
Requires: ghc-pandoc-types < 1.11
|
Requires: ghc-pandoc-types
|
||||||
Requires: ghc-data-default
|
Requires: ghc-data-default
|
||||||
Requires: ghc-json
|
Requires: ghc-json
|
||||||
Requires: ghc-xml
|
Requires: ghc-xml
|
||||||
Requires: ghc-temporary
|
Requires: ghc-temporary
|
||||||
Requires: ghc-tagsoup < 0.13
|
Requires: ghc-tagsoup
|
||||||
Requires: ghc-highlighting-kate
|
Requires: ghc-highlighting-kate
|
||||||
Requires: ghc-texmath
|
Requires: ghc-texmath
|
||||||
Requires: ghc-base64-bytestring
|
Requires: ghc-base64-bytestring
|
||||||
Requires: ghc-zip-archive
|
Requires: ghc-zip-archive
|
||||||
|
Requires: ghc-yaml
|
||||||
|
Requires: ghc-hslua
|
||||||
|
Requires: ghc-haddock-library
|
||||||
|
Requires: ghc-SHA
|
||||||
|
Requires: ghc-JuicyPixels
|
||||||
|
Requires: ghc-data-default
|
||||||
Requires: ghc = %{ghc_ver}
|
Requires: ghc = %{ghc_ver}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -67,46 +79,45 @@ A command-line tool for converting from one markup format to another.
|
|||||||
%setup -q -n %{pkgname}-%{version}
|
%setup -q -n %{pkgname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
runghc Setup.hs configure \
|
runghc Setup.hs configure -v2 \
|
||||||
--prefix=%{_prefix} --libdir=%{_libdir}
|
--prefix=%{_prefix} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--libexecdir=%{_libexecdir} \
|
||||||
|
--docdir=%{_docdir}/%{name}-%{version}
|
||||||
|
|
||||||
runghc Setup.hs build
|
runghc Setup.hs build
|
||||||
runghc Setup.hs haddock --html-location=URL --hyperlink-source
|
runghc Setup.hs haddock
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
runghc Setup.hs copy --destdir=%{buildroot}
|
runghc Setup.hs copy --destdir=%{buildroot}
|
||||||
runghc Setup.hs register \
|
runghc Setup.hs 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 %{pkgname}-%{version} || true
|
ghc-pkg unregister %{pkgname}-%{version} || :
|
||||||
:
|
|
||||||
|
|
||||||
%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}
|
||||||
%dir %{_docdir}/%{pkgname}-%{version}
|
%{_docdir}/%{name}-%{version}/COPYING
|
||||||
%{_docdir}/%{pkgname}-%{version}/COPYING
|
%{_docdir}/%{name}-%{version}/html
|
||||||
%dir %{_docdir}/%{pkgname}-%{version}/html
|
|
||||||
%{_docdir}/%{pkgname}-%{version}/html/*
|
|
||||||
%{_mandir}/man1/%{pkgname}.1*
|
|
||||||
%{_mandir}/man5/%{pkgname}*.5*
|
|
||||||
|
|
||||||
%files -n %{pkgname}
|
%files -n %{pkgname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/pandoc
|
%{_bindir}/pandoc
|
||||||
%dir %{_datadir}/%{pkgname}-%{version}
|
%{_datadir}/%{pkgname}-%{version}
|
||||||
%{_datadir}/%{pkgname}-%{version}/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 12 2015 Davide Madrisan <davide.madrisan@gmail.com> 1.13.2-1mamba
|
||||||
|
- update to 1.13.2
|
||||||
|
|
||||||
* Tue Apr 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.1-1mamba
|
* Tue Apr 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.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