Name: discount
Summary: C compiler for Markdown
Version: 2.1.5a
Release: 1
License: BSD
Group: Applications/Text
URL: http://www.pell.portland.or.us/~orc/Code/discount/
Description: This is David Parsons' implementation of John Gruber's Markdown text to html
language. There's not much here that differentiates it from any of the
existing Markdown implementations except that it's written in C instead of one
of the vast flock of scripting languages that are fighting it out for the Perl
crown.
Markdown provides a library that gives you formatting functions suitable for marking down entire documents or lines of text, a command-line program that you can use to mark down documents interactively or from a script, and a tiny (1 program so far) suite of example programs that show how to fully utilize the markdown library.
discount also does, by default, various SmartyPants-style substitutions.
The build was not successful.
The build was not successful.
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: shuff # Upstream: David Parsons <orc$pell,portland,or,us> Summary: C compiler for Markdown Name: discount Version: 2.1.5a Release: 1%{?dist} License: BSD Group: Applications/Text URL: http://www.pell.portland.or.us/~orc/Code/discount/ Source: http://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: binutils BuildRequires: gcc BuildRequires: make BuildRequires: sed # we are a Markdown compiler Provides: Markdown Provides: /usr/bin/markdown Provides: /usr/bin/mkd2html %description This is David Parsons' implementation of John Gruber's Markdown text to html language. There's not much here that differentiates it from any of the existing Markdown implementations except that it's written in C instead of one of the vast flock of scripting languages that are fighting it out for the Perl crown. Markdown provides a library that gives you formatting functions suitable for marking down entire documents or lines of text, a command-line program that you can use to mark down documents interactively or from a script, and a tiny (1 program so far) suite of example programs that show how to fully utilize the markdown library. discount also does, by default, various SmartyPants-style substitutions. %package devel Summary: Headers and development files for discount. Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Install this package if you want to develop software that uses the Discount library. %prep %setup %build ./configure.sh \ --prefix=%{_prefix} \ --confdir=%{_sysconfdir} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --enable-all-options \ --shared \ --with-fenced-code \ --with-github-tags \ --with-id-anchor \ --with-dl=both %{__make} %{?_smp_mflags} CFLAGS="%{optflags}" %install %{__rm} -rf %{buildroot} %{__install} -d %{buildroot}%{_bindir} %{__install} -d %{buildroot}%{_includedir} %{__install} -d %{buildroot}%{_libdir} %{__install} -d %{buildroot}%{_mandir} # librarian.sh cannot run ldconfig when running as nonroot %{__sed} -ie '/ldconfig/d' librarian.sh %{__make} install.everything DESTDIR=%{buildroot} # fix for stupid strip issue %{__chmod} -R u+w %{buildroot}/* %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc COPYRIGHT INSTALL README VERSION %doc %{_mandir}/man1/* %doc %{_mandir}/man7/* %{_bindir}/* %{_libdir}/*.so.* %files devel %defattr(-, root, root, 0755) %doc %{_mandir}/man3/* %{_includedir}/* %{_libdir}/*.so %changelog * Thu Oct 25 2012 Steve Huff <shuff@vecna.org> - 2.1.5a-1 - Updated to version 2.1.5a. * Mon Apr 23 2012 Steve Huff <shuff@vecna.org> - 2.1.3-2 - Package shared as well as static library (thanks Phil!) * Tue Feb 7 2012 Steve Huff <shuff@vecna.org> - 2.1.3-1 - Updated to version 2.1.3. * Tue Sep 27 2011 Steve Huff <shuff@vecna.org> - 2.1.2-1 - Updated to version 2.1.2. * Wed Jul 13 2011 Steve Huff <shuff@vecna.org> - 2.0.9-1 - Updated to version 2.0.9. - Fixed license metadata. - Moved the static library to discount-devel. * Tue Mar 22 2011 Steve Huff <shuff@vecna.org> - 2.0.8-1 - Updated to version 2.0.8. * Mon Jan 24 2011 Steve Huff <shuff@vecna.org> - 2.0.2-2 - Applied a stupid fix that enables discount to build under el6 x86_64. * Sun Dec 19 2010 Steve Huff <shuff@vecna.org> - 2.0.2-1 - Updated to version 2.0.2. * Thu Sep 30 2010 Steve Huff <shuff@vecna.org> - 1.6.8-1 - Updated to version 1.6.8. * Tue Aug 31 2010 Steve Huff <shuff@vecna.org> - 1.6.7-1 - Updated to version 1.6.7. - Source is back on the original server for the time being (thanks David!) * Thu Aug 26 2010 Steve Huff <shuff@vecna.org> - 1.6.6-1 - Updated to version 1.6.6. - Source moved to github. - Why did I put theme in the devel package? * Tue Mar 09 2010 Steve Huff <shuff@vecna.org> - 1.6.3-1 - Updated to version 1.6.3. * Fri Feb 19 2010 Steve Huff <shuff@vecna.org> - 1.6.1-1 - Updated to version 1.6.1. * Tue Oct 06 2009 Steve Huff <shuff@vecna.org> - 1.5.5-1 - Initial package.