From 574dd75a9f4a434fc5af6e9f61106e2b12395d3d7c2eeb0a266eeaf662045a0b Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 3 Sep 2010 12:19:56 +0000 Subject: [PATCH] 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 --- caca-no-build-date.patch | 21 +++++++++++++++++++++ libcaca.changes | 5 +++++ libcaca.spec | 16 +++++++++------- 3 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 caca-no-build-date.patch diff --git a/caca-no-build-date.patch b/caca-no-build-date.patch new file mode 100644 index 0000000..2c4a326 --- /dev/null +++ b/caca-no-build-date.patch @@ -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: Version: %s, date: %s\n" ++ "Internet: 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) + { diff --git a/libcaca.changes b/libcaca.changes index e44e6c4..0a160e1 100644 --- a/libcaca.changes +++ b/libcaca.changes @@ -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 diff --git a/libcaca.spec b/libcaca.spec index 1443a6c..99b5024 100644 --- a/libcaca.spec +++ b/libcaca.spec @@ -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 %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 %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 %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