Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:RebuildFactoryUpdates
chafa
chafa.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chafa.spec of Package chafa
# # spec file for package chafa # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: chafa Version: 1.14.4 Release: 0 Summary: Image-to-text converter for terminal License: LGPL-3.0-or-later Group: Amusements/Toys/Graphics URL: https://hpjansson.org/chafa/ Source0: https://github.com/hpjansson/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: freetype2-devel BuildRequires: gcc BuildRequires: glib2-devel >= 2.26 BuildRequires: gtk-doc BuildRequires: libjpeg-devel BuildRequires: librsvg-devel BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: libwebp-devel Requires: libchafa0 = %{version} %description Chafa is a command-line utility that converts all kinds of images, including animated image formats like GIFs, into ANSI/Unicode character output that can be displayed in a terminal. %package -n libchafa0 Summary: Shared library for %{name} Group: Development/Libraries/C and C++ %description -n libchafa0 The core of Chafa which converts all kinds of images, including animated image formats like GIFs, into ANSI/Unicode characters. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libchafa0 = %{version} %description devel Development files for %{name}. %package doc Summary: Chafa documentation Group: Documentation/HTML Recommends: %{name}-devel BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q autoreconf -ivf # rpath sed -i -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ -e "s|runpath_var='LD_RUN_PATH'|runpath_var=DIE_RPATH_DIE|g" \ configure %build %configure --disable-rpath %make_build %install %make_install rm -rf %{buildroot}%{_libdir}/libchafa.{a,la} %post -n libchafa0 -p /sbin/ldconfig %postun -n libchafa0 -p /sbin/ldconfig %files %license COPYING.LESSER %doc README* NEWS %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{?ext_man} %files -n libchafa0 %license COPYING.LESSER %{_libdir}/lib%{name}.so.0* %files devel %license COPYING.LESSER %{_includedir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/lib%{name}.so %dir %{_libdir}/chafa/ %{_libdir}/chafa/include/ %files doc %doc AUTHORS %license COPYING.LESSER %doc %{_datadir}/gtk-doc/html/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor