diff --git a/libcaca.spec b/libcaca.spec index ec11ea3..4b44fbc 100644 --- a/libcaca.spec +++ b/libcaca.spec @@ -1,6 +1,6 @@ Name: libcaca Version: 0.99.beta19 -Release: 1mamba +Release: 2mamba Summary: A library for Colour AsCii Art, text mode graphics Group: System/Libraries Vendor: openmamba @@ -27,10 +27,11 @@ BuildRequires: libpython-devel BuildRequires: libslang-devel BuildRequires: libstdc++6-devel BuildRequires: libz-devel +BuildRequires: mono-devel BuildRequires: ruby-devel ## AUTOBUILDREQ-END BuildRequires: mono-devel -BuildRequires: jdk +#BuildRequires: java-environment BuildRequires: libGLUT-devel BuildRequires: libpango-devel BuildRequires: doxygen @@ -46,15 +47,14 @@ It provides high level functions for colour text drawing, simple primitives for 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} +#%if "%{stage1}" != "1" +#Requires: %{name}-java = %{?epoch:%epoch:}%{version}-%{release} #Requires: %{name}-sharp = %{?epoch:%epoch:}%{version}-%{release} -%endif +#%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 @@ -65,7 +65,6 @@ 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 @@ -76,7 +75,6 @@ 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 @@ -95,13 +93,12 @@ 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. +%debug_package + %prep %setup -q -#-D -T -#:<< _EOF #%patch0 -p1 %patch1 -p1 @@ -114,6 +111,7 @@ This package contains utilities and demonstration programs for libcaca, the Colo --enable-slang \ --enable-x11 \ --disable-doc \ + --disable-java \ --x-libraries=%{_libdir} %ifarch arm @@ -164,8 +162,10 @@ rm -rf installed-docs/pdf #%{_libdir}/libcucul.so #%{_libdir}/libcucul++.la #%{_libdir}/libcucul++.so -%{_libdir}/jni/libcaca-java.la -%{_libdir}/jni/libcaca-java.so +#%ifnarch aarch64 +#%{_libdir}/jni/libcaca-java.la +#%{_libdir}/jni/libcaca-java.so +#%endif %{_libdir}/pkgconfig/caca.pc #%{_libdir}/pkgconfig/cucul.pc %{_includedir}/caca.h @@ -180,18 +180,22 @@ rm -rf installed-docs/pdf #%{_mandir}/man3/* %doc ChangeLog NEWS NOTES README THANKS -%files java -%defattr(-,root,root) -%{_libdir}/jni/libcaca-java.so.* -%{_datadir}/java/libjava.jar - -#%files sharp +#%ifnarch aarch64 +#%files java #%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 +#%{_libdir}/jni/libcaca-java.so.* +#%{_datadir}/java/libjava.jar +#%endif + +%ifnarch arm +%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.pdb +%endif %files -n python-caca %defattr(-,root,root) @@ -218,6 +222,9 @@ rm -rf installed-docs/pdf #%{_datadir}/doc/libcaca-dev/pdf/libcaca.pdf %changelog +* Mon Dec 21 2020 Silvan Calarco 0.99.beta19-2mamba +- rebuilt with debug package + * Wed Aug 28 2019 Silvan Calarco 0.99.beta19-1mamba - update to 0.99.beta19