fix for SR145775

OBS-URL: https://build.opensuse.org/package/show/Publishing/discount?expand=0&rev=5
This commit is contained in:
OBS User mrdocs 2013-05-12 19:03:57 +00:00 committed by Git OBS Bridge
parent de990375f7
commit ffdcbd10c7

View File

@ -1,3 +1,6 @@
#
# spec file for package discount
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -11,20 +14,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: discount
Version: 2.1.5a
Name: discount
Version: 2.1.5a
Release: 0
%define soname 2
Release: 0
Summary: Markdown text to HTML converter
Source: http://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2
Patch1: discount-disable_ldconfig.patch
URL: http://www.pell.portland.or.us/~orc/Code/discount/
Group: Productivity/Text/Convertors
License: BSD4c
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: gcc make glibc-devel
BuildRequires: autoconf automake libtool
Requires: libmarkdown%{soname} = %{version}
Summary: Markdown text to HTML converter
License: BSD-4-Clause
Group: Productivity/Text/Convertors
Source: http://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2
Patch1: discount-disable_ldconfig.patch
Url: http://www.pell.portland.or.us/~orc/Code/discount/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: libtool
BuildRequires: make
Requires: libmarkdown%{soname} = %{version}
%description
Discount is an implementation of John Grubers Markdown text to HTML language
@ -32,8 +41,8 @@ with some extensions from PHP Markdown Extra, Pandoc, and other implementations
of Markdown.
%package -n libmarkdown%{soname}
Summary: Markdown text to HTML converter library
Group: Development/Libraries/C and C++
Summary: Markdown text to HTML converter library
Group: Development/Libraries/C and C++
%description -n libmarkdown%{soname}
Discount is an implementation of John Grubers Markdown text to HTML language
@ -41,9 +50,9 @@ with some extensions from PHP Markdown Extra, Pandoc, and other implementations
of Markdown.
%package -n libmarkdown-devel
Summary: Markdown text to HTML converter library
Group: Development/Libraries/C and C++
Requires: libmarkdown%{soname} = %{version}
Summary: Markdown text to HTML converter library
Group: Development/Libraries/C and C++
Requires: libmarkdown%{soname} = %{version}
%description -n libmarkdown-devel
Discount is an implementation of John Grubers Markdown text to HTML language
@ -107,3 +116,4 @@ CFLAGS="%{optflags}" \
%{_libdir}/libmarkdown.so
%{_mandir}/man3/*.3%{ext_man}
%changelog