Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
hexchat.4203
hexchat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hexchat.spec of Package hexchat.4203
# # spec file for package hexchat # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Andrey Karepin <egdfree@opensuse.org> # # 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 http://bugs.opensuse.org/ # Name: hexchat Version: 2.12.0 Release: 0 Summary: A popular and easy to use graphical IRC (chat) client License: GPL-2.0+ Group: Productivity/Networking/IRC Url: https://hexchat.github.io/ Source0: https://dl.%{name}.net/%{name}/%{name}-%{version}.tar.xz Source1: hexchat-migrate-sh # PATCH-FIX-UPSTREAM: Fix build with python3 Patch0: hexchat-python3.patch # PATCH-FEATURE-SLE migrate-configuration-from-xchat.patch tyang@suse.com fate#318480 -- replace xchat with hexchat Patch1: migrate-configuration-from-xchat.patch #PATCH-FIX-UPSTREAM 0001-Sanitize-network-name-for-scrollback-files.patch sckang@suse.com bsc#1020739 -- Sanitize network name for scrollback files Patch2: 0001-Sanitize-network-name-for-scrollback-files.patch BuildRequires: bison >= 1.35 BuildRequires: dbus-1-devel BuildRequires: dbus-1-glib-devel BuildRequires: gettext-devel BuildRequires: glib2-devel >= 2.14.0 BuildRequires: gtk2-devel >= 2.10.0 BuildRequires: hicolor-icon-theme BuildRequires: intltool BuildRequires: iso-codes-devel BuildRequires: libcanberra-devel BuildRequires: libnotify-devel BuildRequires: libopenssl-devel BuildRequires: libproxy-devel BuildRequires: libsexy-devel BuildRequires: libxml2-devel BuildRequires: pciutils-devel BuildRequires: perl >= 5.8.0 BuildRequires: pkgconfig BuildRequires: python3-devel BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: perl(ExtUtils::Embed) # Provide us as replacement from 1315+ Provides: xchat = %{version} Obsoletes: xchat < %{version} Recommends: %{name}-lang Recommends: iso-codes Recommends: hwdata BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} != 1315 BuildRequires: libntlm-devel %endif %description HexChat is an easy to use graphical IRC chat client for the X Window System. It allows you to join multiple IRC channels (chat rooms) at the same time, talk publicly, private one-on-one conversations etc. Even file transfers are possible. %package devel Summary: Development Files for HexChat Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Recommends: %{name}-plugins-perl = %{version} Recommends: %{name}-plugins-python3 = %{version} %description devel This package includes files needed to develop HexChat modules. %lang_package %package plugins-perl Summary: Plugin for HexChat adds support for Perl scripts Group: System/Libraries %{?libperl_requires} %description plugins-perl The HexChat plugin providing the Perl scripting interface. %package plugins-python3 Summary: Plugin for HexChat adds support for Python3 scripts Group: System/Libraries Provides: plugins-python = %{version} Obsoletes: plugins-python < %{version} %description plugins-python3 The HexChat plugin providing the Python 3 scripting interface. %prep %setup -q %patch0 -p1 %patch1 -p1 %if 0%{?suse_version} == 1315 %patch2 -p1 %endif # fix date embedding to avoid needless rebuilds FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" \ -i src/fe-gtk/menu.c \ -i src/fe-text/fe-text.c %build %configure \ --enable-python=python3 \ --enable-isocodes make V=1 %{?_smp_mflags} %install install -Dm 0755 %{S:1} %{buildroot}%{_libdir}/hexchat/$(basename %{S:1}) %make_install # Get rid of libtool archives find %{buildroot} -type f -name "*.la" -delete -print %suse_update_desktop_file %{name} %find_lang %{name} %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root,-) %doc COPYING readme.md %{_bindir}/%{name} %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/hexchat/hexchat-migrate-sh %{_libdir}/%{name}/plugins/checksum.so %{_libdir}/%{name}/plugins/doat.so %{_libdir}/%{name}/plugins/fishlim.so %{_libdir}/%{name}/plugins/sysinfo.so %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/*/apps/%{name}.svg %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/dbus-1/services/org.%{name}.service.service %{_mandir}/man1/%{name}.1%{ext_man} %files devel %defattr(-,root,root,-) %{_includedir}/%{name}-plugin.h %{_libdir}/pkgconfig/%{name}-plugin.pc %files lang -f %{name}.lang %defattr(-,root,root,-) %files plugins-perl %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/perl.so %files plugins-python3 %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/python.so %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