package created using the webbuild interface [release 2.2.6-1mamba;Sat Jul 27 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 21:48:19 +01:00
parent f46f304d16
commit 6c01c44e1a
2 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# discount # discount
DISCOUNT is a implementation of John Gruber & Aaron Swartz's Markdown markup language.

85
discount.spec Normal file
View File

@ -0,0 +1,85 @@
Name: discount
Version: 2.2.6
Release: 1mamba
Summary: A implementation of John Gruber & Aaron Swartz's Markdown markup language
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.pell.portland.or.us/~orc/Code/discount/
## GITSOURCE https://github.com/Orc/discount.git v2.2.6
Source: https://github.com/Orc/discount.git/v%{version}/discount-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: libmarkdown = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
DISCOUNT is a implementation of John Gruber & Aaron Swartz's Markdown markup language.
%package -n libmarkdown
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libmarkdown
DISCOUNT is a implementation of John Gruber & Aaron Swartz's Markdown markup language.
This package contains shared libraries for %{name}.
%package -n libmarkdown-devel
Group: Development/Libraries
Summary: Development files for libmarkdown
Requires: libmarkdown = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libmarkdown-devel
This package contains libraries and header files for developing applications that use libmarkdown.
%debug_package
%prep
%setup -q
%build
./configure.sh \
--shared --pkg-config --cxx-binding
%make -j1 \
BINDIR=%{_bindir} MANDIR=%{_mandir} \
LIBDIR=%{_libdir} INCDIR=%{_includedir}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
sed -i "/\/sbin\/ldconfig/d" librarian.sh
%makeinstall \
BINDIR=%{_bindir} MANDIR=%{_mandir} \
LIBDIR=%{_libdir} INCDIR=%{_includedir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libmarkdown -p /sbin/ldconfig
%postun -n libmarkdown -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/markdown
%files -n libmarkdown
%defattr(-,root,root)
%{_libdir}/libmarkdown.so.*
%doc COPYRIGHT CREDITS
%files -n libmarkdown-devel
%defattr(-,root,root)
%{_libdir}/libmarkdown.so
%{_libdir}/pkgconfig/libmarkdown.pc
%{_includedir}/mkdio.h
%doc README
%changelog
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.6-1mamba
- package created using the webbuild interface