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. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # 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/ # 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 %define soname 2
Release: 0 Summary: Markdown text to HTML converter
Summary: Markdown text to HTML converter License: BSD-4-Clause
Source: http://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2 Group: Productivity/Text/Convertors
Patch1: discount-disable_ldconfig.patch Source: http://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2
URL: http://www.pell.portland.or.us/~orc/Code/discount/ Patch1: discount-disable_ldconfig.patch
Group: Productivity/Text/Convertors Url: http://www.pell.portland.or.us/~orc/Code/discount/
License: BSD4c BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: autoconf
BuildRequires: gcc make glibc-devel BuildRequires: automake
BuildRequires: autoconf automake libtool BuildRequires: gcc
Requires: libmarkdown%{soname} = %{version} BuildRequires: glibc-devel
BuildRequires: libtool
BuildRequires: make
Requires: libmarkdown%{soname} = %{version}
%description %description
Discount is an implementation of John Grubers Markdown text to HTML language 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. of Markdown.
%package -n libmarkdown%{soname} %package -n libmarkdown%{soname}
Summary: Markdown text to HTML converter library Summary: Markdown text to HTML converter library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%description -n libmarkdown%{soname} %description -n libmarkdown%{soname}
Discount is an implementation of John Grubers Markdown text to HTML language 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. of Markdown.
%package -n libmarkdown-devel %package -n libmarkdown-devel
Summary: Markdown text to HTML converter library Summary: Markdown text to HTML converter library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libmarkdown%{soname} = %{version} Requires: libmarkdown%{soname} = %{version}
%description -n libmarkdown-devel %description -n libmarkdown-devel
Discount is an implementation of John Grubers Markdown text to HTML language Discount is an implementation of John Grubers Markdown text to HTML language
@ -107,3 +116,4 @@ CFLAGS="%{optflags}" \
%{_libdir}/libmarkdown.so %{_libdir}/libmarkdown.so
%{_mandir}/man3/*.3%{ext_man} %{_mandir}/man3/*.3%{ext_man}
%changelog