package created using the webbuild interface [release 0.1.1.1-1mamba;Sun Dec 03 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 08:23:54 +01:00
parent 5bcff86ad8
commit e7da6450d1
2 changed files with 53 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# pandoc-cli # pandoc-cli
GHC pandoc-cli: Conversion between documentation formats.

51
pandoc-cli.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.1.1.1-1mamba
- package created using the webbuild interface