automatic version update by autodist [release 0.99.beta18-1mamba;Sun Aug 26 2012]

This commit is contained in:
Automatic Build System 2024-01-06 03:55:57 +01:00
parent f090ac4a66
commit 429f4b79a9
4 changed files with 268 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# libcaca
Libcaca is the Colour AsCii Art library.
It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.

View File

@ -0,0 +1,11 @@
--- libcaca-0.99.beta11/configure.orig 2007-04-18 10:24:54.000000000 +0200
+++ libcaca-0.99.beta11/configure 2007-04-18 10:26:03.000000000 +0200
@@ -24992,7 +24992,7 @@
fi
{ echo "$as_me:$LINENO: checking for a4wide.sty" >&5
echo $ECHO_N "checking for a4wide.sty... $ECHO_C" >&6; }
- if test -f /usr/share/texmf/tex/latex/misc/a4wide.sty; then
+ if test -f /usr/share/texmf/tex/latex/a4wide/a4wide.sty; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
elif test -f /usr/share/texmf-tetex/tex/latex/a4wide/a4wide.sty; then

View File

@ -0,0 +1,24 @@
diff -Nru libcaca-0.99.beta18.orig/caca-sharp/Makefile.am libcaca-0.99.beta18/caca-sharp/Makefile.am
--- libcaca-0.99.beta18.orig/caca-sharp/Makefile.am 2010-02-08 00:49:34.000000000 +0000
+++ libcaca-0.99.beta18/caca-sharp/Makefile.am 2012-09-02 16:04:53.967234751 +0000
@@ -34,7 +34,7 @@
if USE_CSHARP
install-data-local:
MONO_SHARED_DIR=$$HOME $(GACUTIL) -i caca-sharp.dll \
- -package caca-sharp-0.0 -f -root $(DESTDIR)$(libdir)
+ -package caca-sharp-0.0 -f -root $(DESTDIR)$(prefix)/lib
$(mkinstalldirs) $(DESTDIR)$(monodir)
sed -e 's@target="[^"]*/@target="@' < caca-sharp.dll.config > $(DESTDIR)$(monodir)/caca-sharp.dll.config
diff -Nru libcaca-0.99.beta18.orig/caca-sharp/Makefile.in libcaca-0.99.beta18/caca-sharp/Makefile.in
--- libcaca-0.99.beta18.orig/caca-sharp/Makefile.in 2012-04-06 20:48:33.000000000 +0000
+++ libcaca-0.99.beta18/caca-sharp/Makefile.in 2012-09-02 16:05:03.860134536 +0000
@@ -459,7 +459,7 @@
@USE_CSHARP_TRUE@install-data-local:
@USE_CSHARP_TRUE@ MONO_SHARED_DIR=$$HOME $(GACUTIL) -i caca-sharp.dll \
-@USE_CSHARP_TRUE@ -package caca-sharp-0.0 -f -root $(DESTDIR)$(libdir)
+@USE_CSHARP_TRUE@ -package caca-sharp-0.0 -f -root $(DESTDIR)$(prefix)/lib
@USE_CSHARP_TRUE@ $(mkinstalldirs) $(DESTDIR)$(monodir)
@USE_CSHARP_TRUE@ sed -e 's@target="[^"]*/@target="@' < caca-sharp.dll.config > $(DESTDIR)$(monodir)/caca-sharp.dll.config

230
libcaca.spec Normal file
View File

@ -0,0 +1,230 @@
Name: libcaca
Version: 0.99.beta18
Release: 1mamba
Summary: A library for Colour AsCii Art, text mode graphics
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://caca.zoy.org/
Source: http://caca.zoy.org/files/libcaca/%{name}-%{version}.tar.gz
Patch0: %{name}-0.99-configure_a4wide_path.patch
Patch1: libcaca-0.99.beta18-mono-fix-x86_64-libdir.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
%if "%{stage1}" != "1"
BuildRequires: libftgl-devel
%endif
BuildRequires: libgcc
BuildRequires: libimlib2-devel
BuildRequires: libncurses-devel
BuildRequires: libslang-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libz-devel
BuildRequires: ruby-devel
## AUTOBUILDREQ-END
BuildRequires: mono-devel
BuildRequires: jdk
BuildRequires: libGL-devel
BuildRequires: libGLUT-devel
BuildRequires: libpango-devel
BuildRequires: doxygen
BuildRequires: tetex-latex
BuildRequires: tetex-dvips
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libcaca is the Colour AsCii Art library.
It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.
%package devel
Summary: Development files for libcaca, the library for Colour AsCii Art
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%if "%{stage1}" != "1"
Requires: %{name}-java = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-sharp = %{?epoch:%epoch:}%{version}-%{release}
%endif
%description devel
Libcaca is the Colour AsCii Art library.
It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.
This package contains the header files and static libraries needed to compile applications or shared objects that use libcaca.
%package sharp
Summary: C# caca libraries
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description sharp
C# caca libraries.
It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.
This package contains the header files and static libraries needed to compile applications or shared objects that use libcaca.
%package java
Summary: Java caca libraries
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description java
Java caca libraries.
It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.
This package contains the header files and static libraries needed to compile applications or shared objects that use libcaca.
%package -n python-caca
Summary: Python bindings to caca libraries
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-caca
Python bindings to caca libraries.
%package -n caca-utils
Summary: Colour AsCii Art Text mode graphics utilities based on libcaca
Group: Applications/Graphics
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n caca-utils
Libcaca is the Colour AsCii Art library.
It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.
This package contains utilities and demonstration programs for libcaca, the Colour AsCii Art library.
%prep
%setup -q
#%patch0 -p1
%patch1 -p1
%build
%configure \
--enable-shared \
--disable-static \
--enable-imlib2 \
--enable-ncurses \
--enable-slang \
--enable-x11 \
--x-libraries=%{_libdir}
%make \
%if "%{stage1}" == "1"
CFLAGS="-I../caca"
%endif
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \
%if "%{stage1}" == "1"
CFLAGS="-I../caca"
%endif
# we want to include the docs ourselves from the source directory
mv %{buildroot}%{_datadir}/doc/libcucul-dev installed-docs
rm -rf installed-docs/pdf
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libcaca.so.*
%{_libdir}/libcaca++.so.*
%{_libdir}/libcucul.so.*
%{_libdir}/libcucul++.so.*
%{_libdir}/ruby/site_ruby/*/*/caca.la
%{_libdir}/ruby/site_ruby/*/*/caca.so
%{_libdir}/ruby/site_ruby/*/caca.rb
%files devel
%defattr(-,root,root)
%{_bindir}/caca-config
%{_libdir}/libcaca.la
%{_libdir}/libcaca.so
%{_libdir}/libcaca++.la
%{_libdir}/libcaca++.so
%{_libdir}/libcucul.la
%{_libdir}/libcucul.so
%{_libdir}/libcucul++.la
%{_libdir}/libcucul++.so
%{_libdir}/jni/libcaca-java.la
%{_libdir}/jni/libcaca-java.so
%{_libdir}/pkgconfig/caca.pc
%{_libdir}/pkgconfig/cucul.pc
%{_includedir}/caca.h
%{_includedir}/caca++.h
%{_includedir}/caca_conio.h
%{_includedir}/caca_types.h
%{_includedir}/caca0.h
%{_includedir}/cucul.h
%{_libdir}/pkgconfig/caca++.pc
%{_libdir}/pkgconfig/cucul++.pc
%{_mandir}/man1/caca-config.*
%{_mandir}/man3/*
%doc AUTHORS ChangeLog COPYING NEWS NOTES README THANKS
%files java
%defattr(-,root,root)
%{_libdir}/jni/libcaca-java.so.*
%{_datadir}/java/libjava.jar
%files sharp
%defattr(-,root,root)
%{_prefix}/lib/mono/caca-sharp-*/caca-sharp.dll
%{_libdir}/mono/caca-sharp-*/caca-sharp.dll.config
%{_prefix}/lib/mono/gac/caca-sharp/*/caca-sharp.dll
%{_prefix}/lib/mono/gac/caca-sharp/*/caca-sharp.dll.config
%{_prefix}/lib/mono/gac/caca-sharp/*/caca-sharp.dll.mdb
%files -n python-caca
%defattr(-,root,root)
%dir %{python_sitearch}/caca
%{python_sitearch}/caca/*
%files -n caca-utils
%defattr(-,root,root)
%{_bindir}/cacaclock
%{_bindir}/cacademo
%{_bindir}/cacafire
%{_bindir}/cacaplay
%{_bindir}/cacaserver
%{_bindir}/cacaview
%{_bindir}/img2txt
%{_datadir}/libcaca/
%{_mandir}/man1/cacademo.*
%{_mandir}/man1/cacafire.*
%{_mandir}/man1/cacaplay.*
%{_mandir}/man1/cacaserver.*
%{_mandir}/man1/cacaview.*
%{_mandir}/man1/img2txt.*
%{_datadir}/doc/libcaca-dev/html/*
%{_datadir}/doc/libcaca-dev/pdf/libcaca.pdf
%changelog
* Sun Aug 26 2012 Automatic Build System <autodist@mambasoft.it> 0.99.beta18-1mamba
- automatic version update by autodist
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.beta17-1mamba
- update to 0.99.beta17
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.beta16-1mamba
- update to 0.99.beta16
* Wed Apr 18 2007 Davide Madrisan <davide.madrisan@gmail.com> 0.99.beta11-1mamba
- update to version 0.99.beta11
* Wed Apr 18 2007 Davide Madrisan <davide.madrisan@gmail.com> 0.9-3mamba
- fixed search path for a4wide.sty in the configure script
- build documentation
* Fri Oct 01 2004 Davide Madrisan <davide.madrisan@qiinux.it> 0.9-2qilnx
- specfile fixed and modified to match QiLinux standards
* Sun Sep 19 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.9-1qilnx
- first build