Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
xchat-gnome
xchat-gnome.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xchat-gnome.spec of Package xchat-gnome
# # spec file for package xchat-gnome # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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: xchat-gnome Summary: A more simple IRC Client License: GPL-2.0+ Group: Productivity/Networking/IRC Version: 0.26.1 Release: 0 Source: http://download.gnome.org/sources/%{name}/0.24/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM xchat-gnome-gtk2.19.7.patch dimstar@opensuse.org -- Fix build with gtk 2.19.7. Patch taken from upstream git. Patch0: xchat-gnome-gtk2.19.7.patch # PATCH-FIX-UPSTREAM xchat-gnome-make382.patch bgo#629382 dimstar@opensuse.org -- Fix build with make 3.82, requires autoreconf and gnome-common BuildRequires Patch1: xchat-gnome-make382.patch # PATCH-FIX-UPSTREAM xchat-gnome-0.26.1-libnotify.patch fcrozat@novell.com -- Fix build with libnotify 0.7.x. Patch taken from upstream git. Patch2: xchat-gnome-0.26.1-libnotify.patch # PATCH-FIX-UPSTREAM xchat-gnome-dso-linking.patch vuntz@opensuse.org -- Fix linking issue, taken from git Patch3: xchat-gnome-dso-linking.patch # PATCH-FIX-UPSTREAM xchat-gnome-perl-plugin.patch bgo#698232 dimstar@opensuse.org -- Fix building with -Werror=missing-prototypes. Patch4: xchat-gnome-perl-plugin.patch # PATCH-FIX-UPSTREAM xchat-gnome-poodle.patch bgo#738870 zaitor@opensuse.org -- Patch for poodle attack. Patch5: xchat-gnome-poodle.patch BuildRequires: dbus-1-glib-devel BuildRequires: fdupes BuildRequires: gconf2-devel BuildRequires: glib2-devel # Needed for patch1 xchat-gnome-make382.patch BuildRequires: gnome-common BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-patch-translation BuildRequires: intltool BuildRequires: libcanberra-devel BuildRequires: libglade2-devel BuildRequires: libgnome-devel BuildRequires: libgnomeui-devel BuildRequires: libnotify-devel BuildRequires: libsexy-devel BuildRequires: openssl-devel BuildRequires: python-devel BuildRequires: tcl-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files %{?libperl_requires} Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://xchat-gnome.navi.cx/ %gconf_schemas_prereq %description XChat-GNOME is a new frontend to the popular X-Chat IRC client which is designed with the user interface foremost in mind. Historically, the OSS desktop has been steadily improving in usability, accessibility, and general slickness, yet the world of IRC clients has not kept up. With IRC being one of the fundamental methods of communication within the open source community, it is bizzare that this area has been neglected. GNOME's philosophy in terms of user interfaces has been progressing towards presenting the user with few options and sane defaults. While many of the normal X-Chat options will be preserved inside GConf and the xchat config files, only the most common settings will be included in the main user interface. The authors decided that the GTK+ frontend provided excessive customizability without sufficient organization, which lead to clutter and confusion. As such, XChat-GNOME was born, and is gaining popularity as an IRC client for people who care more about chatting than tweaking settings. If anyone is interested in helping out with the project, stop by #xchat-gnome on irc.freenode.net. %lang_package %prep %setup -q %if 0%{suse_version} > 1120 %patch0 -p1 %endif %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 translation-update-upstream %build # Upstream provides several empty translations. Remove them: cd po for PO in *.po ; do if LC_MESSAGES=C msgfmt --statistics -o /dev/null $PO 2>&1 | grep "^0 translated messages" ; then echo $PO fi done ls -1 *.po | sed 's/\.po//' >LINGUAS cd .. # needed for patch1 & patch3 autoreconf %configure\ --disable-maintainer-mode \ --disable-scrollkeeper make %{?jobs:-j%jobs} %install %makeinstall %if 0%{?suse_version} <= 1110 %{__rm} %{buildroot}%{_datadir}/locale/jbo/LC_MESSAGES/* %endif %suse_update_desktop_file -N "XChat-GNOME" xchat-gnome cp -r $RPM_BUILD_ROOT%{_datadir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir} %find_lang %{name} %{?no_lang_C} %find_gconf_schemas rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.*a %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %preun -f %{name}.schemas_preun %posttrans -f %{name}.schemas_posttrans %if 0%{?suse_version} > 1130 %post %desktop_database_post %icon_theme_cache_post %endif %if 0%{?suse_version} > 1130 %postun %desktop_database_postun %icon_theme_cache_postun %endif %files -f %{name}.schemas_list %defattr(-,root,root) %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/xchat-gnome %{_datadir}/dbus-1/* %{_datadir}/applications/*.desktop %{_datadir}/icons/* %{_datadir}/xchat-gnome %dir %{_libdir}/xchat-gnome %dir %{_libdir}/xchat-gnome/plugins %{_libdir}/xchat-gnome/plugins/* %doc %{_mandir}/man?/*.* %files lang -f %{name}.lang %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