2024-01-05 21:48:19 +01:00
|
|
|
Name: discount
|
2024-01-05 21:48:19 +01:00
|
|
|
Version: 2.2.7
|
2024-01-05 21:48:19 +01:00
|
|
|
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
|
2024-01-05 21:48:19 +01:00
|
|
|
* Fri Aug 28 2020 Automatic Build System <autodist@mambasoft.it> 2.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:48:19 +01:00
|
|
|
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.6-1mamba
|
|
|
|
- package created using the webbuild interface
|