diff --git a/README.md b/README.md index 8164ebb..2935454 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pandoc-cli +GHC pandoc-cli: Conversion between documentation formats. + diff --git a/pandoc-cli.spec b/pandoc-cli.spec new file mode 100644 index 0000000..17d5813 --- /dev/null +++ b/pandoc-cli.spec @@ -0,0 +1,51 @@ +%define ghc_ver %(ghc --numeric-version) +%define pkg_name %(echo %name | sed "s|^ghc-||") + +Name: pandoc-cli +Version: 0.1.1.1 +Release: 1mamba +Summary: GHC pandoc-cli: Conversion between documentation formats +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://hackage.haskell.org/package/%{pkg_name} +Source: https://hackage.haskell.org/package/pandoc-cli-%{version}/pandoc-cli-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgmp-devel +BuildRequires: libnuma-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: ghc +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-pandoc-devel +Provides: pandoc +Obsoletes: pandoc <= 1.13.2-1mamba + +%description +%{summary}. + +%prep +%setup -q -n pandoc-cli-%{version} + +%build +%ghc_bin_build + +%install +%ghc_bin_install + +rm -f %{buildroot}%{_ghclicensedir}/%{name}/COPYING.md + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/pandoc +%license COPYING.md + +%changelog +* Sun Dec 03 2023 Silvan Calarco 0.1.1.1-1mamba +- package created using the webbuild interface