Accepting request 67180 from home:TheBlackCat

OBS-URL: https://build.opensuse.org/request/show/67180
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcaca?expand=0&rev=8
This commit is contained in:
Cristian Rodríguez 2011-04-12 21:29:32 +00:00 committed by Git OBS Bridge
parent 4e01faa90b
commit c5e23390a7
3 changed files with 17 additions and 6 deletions

2
baselibs.conf Normal file
View File

@ -0,0 +1,2 @@
libcaca0
libcaca0-plugins

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 12 16:25:52 UTC 2011 - toddrme2178@gmail.com
- Add 32bit compatibility libraries
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 26 20:40:12 UTC 2011 - davejplater@gmail.com Wed Jan 26 20:40:12 UTC 2011 - davejplater@gmail.com

View File

@ -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. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -22,13 +22,13 @@
Name: libcaca Name: libcaca
BuildRequires: doxygen freetype2-devel imlib2-devel ncurses-devel pkgconfig 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 #texlive-latex
BuildRequires: freeglut-devel xorg-x11-libs ftgl-devel BuildRequires: freeglut-devel ftgl-devel xorg-x11-libs
BuildRequires: gcc-c++ mono-devel ruby-devel python-devel java-devel BuildRequires: gcc-c++ java-devel mono-devel python-devel ruby-devel
%{py_requires} %{py_requires}
Version: 0.99.beta17 Version: 0.99.beta17
Release: 0 Release: 1
License: WTFPL License: WTFPL
Summary: Library for Colour ASCII Art, text mode graphics Summary: Library for Colour ASCII Art, text mode graphics
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
@ -142,6 +142,7 @@ Authors:
Jean-Yves Lamoureux <jylam@lnxscene.org> Jean-Yves Lamoureux <jylam@lnxscene.org>
%if 0%{?withjava} == 1 %if 0%{?withjava} == 1
%package -n libcaca0-java %package -n libcaca0-java
License: WTFPL License: WTFPL
Summary: Java support for libcaca Summary: Java support for libcaca
@ -161,6 +162,7 @@ Authors:
%endif %endif
%if 0%{?withpython} == 1 %if 0%{?withpython} == 1
%package python %package python
License: WTFPL License: WTFPL
Summary: Python support for libcaca Summary: Python support for libcaca
@ -322,6 +324,7 @@ export CXXFLAGS="$CXXFLAGS %{optflags}"
%postun -n libcaca0-plugins -p /sbin/ldconfig %postun -n libcaca0-plugins -p /sbin/ldconfig
%if 0%{?withjava} == 1 %if 0%{?withjava} == 1
%post -n libcaca0-java -p /sbin/ldconfig %post -n libcaca0-java -p /sbin/ldconfig
%postun -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 %{rb_vendorlib}/caca.rb
%if 0%{?withjava} == 1 %if 0%{?withjava} == 1
%files -n libcaca0-java %files -n libcaca0-java
%defattr(-, root, root, 0755) %defattr(-, root, root, 0755)
%{_libdir}/jni/libcaca-java.so.0 %{_libdir}/jni/libcaca-java.so.0
@ -370,6 +374,7 @@ export CXXFLAGS="$CXXFLAGS %{optflags}"
%endif %endif
%if 0%{?withpython} == 1 %if 0%{?withpython} == 1
%files python %files python
%defattr(-, root, root, 0755) %defattr(-, root, root, 0755)
%dir %{python_sitelib}/caca %dir %{python_sitelib}/caca
@ -401,7 +406,6 @@ export CXXFLAGS="$CXXFLAGS %{optflags}"
%{_libdir}/caca/libx11_plugin.so.0 %{_libdir}/caca/libx11_plugin.so.0
%{_libdir}/caca/libx11_plugin.so.0.0.0 %{_libdir}/caca/libx11_plugin.so.0.0.0
%files -n caca-utils %files -n caca-utils
%defattr(-, root, root, 0755) %defattr(-, root, root, 0755)
%{_bindir}/cacademo %{_bindir}/cacademo