From cfea352165e6ee2cbc190e821272bd14653afb20945fc2417e144678b6c3d4cd Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Wed, 2 Feb 2011 00:37:01 +0000 Subject: [PATCH] Autobuild autoformatter for 59404 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcaca?expand=0&rev=17 --- libcaca.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libcaca.spec b/libcaca.spec index 091181f..0b313a1 100644 --- a/libcaca.spec +++ b/libcaca.spec @@ -1,5 +1,5 @@ # -# spec file for package libcaca (Version 0.99.abeta17) +# spec file for package libcaca # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,13 +22,13 @@ Name: libcaca BuildRequires: doxygen freetype2-devel imlib2-devel ncurses-devel pkgconfig -BuildRequires: slang-devel xorg-x11 xorg-x11-devel fdupes +BuildRequires: fdupes slang-devel xorg-x11 xorg-x11-devel #texlive-latex -BuildRequires: freeglut-devel xorg-x11-libs ftgl-devel -BuildRequires: gcc-c++ mono-devel ruby-devel python-devel java-devel +BuildRequires: freeglut-devel ftgl-devel xorg-x11-libs +BuildRequires: gcc-c++ java-devel mono-devel python-devel ruby-devel %{py_requires} Version: 0.99.beta17 -Release: 0 +Release: 1 License: WTFPL Summary: Library for Colour ASCII Art, text mode graphics Group: Development/Languages/C and C++ @@ -142,6 +142,7 @@ Authors: Jean-Yves Lamoureux %if 0%{?withjava} == 1 + %package -n libcaca0-java License: WTFPL Summary: Java support for libcaca @@ -161,6 +162,7 @@ Authors: %endif %if 0%{?withpython} == 1 + %package python License: WTFPL Summary: Python support for libcaca @@ -322,6 +324,7 @@ export CXXFLAGS="$CXXFLAGS %{optflags}" %postun -n libcaca0-plugins -p /sbin/ldconfig %if 0%{?withjava} == 1 + %post -n libcaca0-java -p /sbin/ldconfig %postun -n libcaca0-java -p /sbin/ldconfig @@ -362,6 +365,7 @@ export CXXFLAGS="$CXXFLAGS %{optflags}" %{rb_vendorlib}/caca.rb %if 0%{?withjava} == 1 + %files -n libcaca0-java %defattr(-, root, root, 0755) %{_libdir}/jni/libcaca-java.so.0 @@ -370,6 +374,7 @@ export CXXFLAGS="$CXXFLAGS %{optflags}" %endif %if 0%{?withpython} == 1 + %files python %defattr(-, root, root, 0755) %dir %{python_sitelib}/caca @@ -401,7 +406,6 @@ export CXXFLAGS="$CXXFLAGS %{optflags}" %{_libdir}/caca/libx11_plugin.so.0 %{_libdir}/caca/libx11_plugin.so.0.0.0 - %files -n caca-utils %defattr(-, root, root, 0755) %{_bindir}/cacademo