Accepting request 46749 from multimedia:libs

Copy from multimedia:libs/libcaca based on submit request 46749 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/46749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcaca?expand=0&rev=13
This commit is contained in:
OBS User autobuild 2010-09-03 12:19:56 +00:00 committed by Git OBS Bridge
parent b5f534a280
commit 574dd75a9f
3 changed files with 35 additions and 7 deletions

21
caca-no-build-date.patch Normal file
View File

@ -0,0 +1,21 @@
Index: src/img2txt.c
===================================================================
--- src/img2txt.c.orig 2010-08-30 16:06:50.000000000 -0400
+++ src/img2txt.c 2010-08-30 16:08:38.214714972 -0400
@@ -81,14 +81,14 @@ static void version(void)
{
printf(
"img2txt Copyright 2006-2007 Sam Hocevar and Jean-Yves Lamoureux\n"
- "Internet: <sam@zoy.org> <jylam@lnxscene.org> Version: %s, date: %s\n"
+ "Internet: <sam@zoy.org> <jylam@lnxscene.org> Version: %s\n"
"\n"
"img2txt, along with its documentation, may be freely copied and distributed.\n"
"\n"
"The latest version of img2txt is available from the web site,\n"
" http://caca.zoy.org/wiki/libcaca in the libcaca package.\n"
"\n",
- caca_get_version(), __DATE__);
+ caca_get_version());
}
int main(int argc, char **argv)
{

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 30 20:36:35 UTC 2010 - cristian.rodriguez@opensuse.org
- Do not include build date in binaries
-------------------------------------------------------------------
Tue Nov 3 19:09:25 UTC 2009 - coolo@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libcaca (Version 0.99.beta16)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,8 +24,8 @@ BuildRequires: slang-devel texlive-latex xorg-x11 xorg-x11-devel
BuildRequires: freeglut-devel xorg-x11-libs
BuildRequires: gcc-c++ mono-devel ruby-devel
Version: 0.99.beta16
Release: 2
License: GPL v2 or later
Release: 9
License: GPLv2+
Summary: Library for Colour ASCII Art, text mode graphics
Group: Development/Languages/C and C++
Url: http://sam.zoy.org/projects/libcaca/
@ -38,6 +38,7 @@ Patch5: libcaca-ruby_vendor_install.patch
Patch6: remove_badwords.patch
Patch7: libcaca-0.99.beta16-missing-GLU.patch
Patch8: libcaca-0.99.beta16-libtool.patch
Patch9: caca-no-build-date.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define rb_vendorarch %{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}
%define rb_vendorlib %{_libdir}/ruby/vendor_ruby/%{rb_ver}
@ -62,7 +63,7 @@ Authors:
%endif
%package devel
License: GPL v2 or later
License: GPLv2+
Summary: Library for Colour ASCII Art, text mode graphics
Group: Development/Languages/C and C++
#yes, nothing else is required to link other applications with "libcaca"
@ -80,7 +81,7 @@ Authors:
Jean-Yves Lamoureux <jylam@lnxscene.org>
%package csharp
License: GPL v2 or later
License: GPLv2+
Summary: C# support for libcaca
Group: Development/Languages/Mono
Requires: %{name} = %{version} mono
@ -96,7 +97,7 @@ Authors:
Jean-Yves Lamoureux <jylam@lnxscene.org>
%package ruby
License: GPL v2 or later
License: GPLv2+
Summary: Ruby bindings for libcaca
Group: Development/Languages/Ruby
Requires: %{name} = %{version} ruby
@ -112,7 +113,7 @@ Authors:
Jean-Yves Lamoureux <jylam@lnxscene.org>
%package -n caca-utils
License: GPL v2 or later
License: GPLv2+
Summary: Colour ASCII Art Text mode graphics utilities based on libcaca
Group: Amusements/Toys/Graphics
@ -150,6 +151,7 @@ Authors:
%patch6 -p1
%patch7
%patch8
%patch9
%build
autoreconf -fiv