Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:branches:network
toxic
toxic.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File toxic.spec of Package toxic
# # spec file for package # # Copyright (c) 2014 Yaroslav Sidlovsky <zawertun@gmail.com> # # 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/ # %define realname toxic Name: toxic Version: 0.8.0 Release: 0 License: GPL-3.0 Summary: Console Tox-based instant messenging client Url: https://github.com/Tox/toxic Group: Productivity/Networking/Instant Messenger Source: https://github.com/JFreegman/toxic/archive/v%{version}.tar.gz BuildRequires: pkg-config BuildRequires: update-desktop-files BuildRequires: toxcore-devel BuildRequires: libvpx-devel BuildRequires: libopus-devel BuildRequires: freealut-devel BuildRequires: libconfig-devel BuildRequires: libnotify-devel BuildRequires: libsodium-devel BuildRequires: openal-soft-devel BuildRequires: libX11-devel BuildRequires: libcurl-devel BuildRequires: qrencode-devel BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(ncurses) >= 6.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Toxic is a Tox-based instant messenging client which formerly resided in the Tox core repository, and is now available as a standalone application. %prep %setup -q -n %{realname}-%{version} %build #sed -i 's|\(LIBS = .*\)ncursesw \(.*\)|\1\2|' build/Makefile sed -i 's|\(CHECK_LIBS = .*\)|CFLAGS += $(shell ncursesw6-config --cflags)\nLDFLAGS += $(shell ncursesw6-config --libs)\n\1|' cfg/checks/check_features.mk #cd build make %{?_smp_mflags} \ USER_CFLAGS="%optflags" \ PREFIX="%_prefix" %install #cd build %make_install PREFIX="%_prefix" %suse_update_desktop_file -G Toxic toxic %suse_update_desktop_file -r toxic Network InstantMessaging %post %desktop_database_post %postun %desktop_database_postun %debug_package %files %defattr(-,root,root) %doc README.md COPYING %{_bindir}/toxic %{_datadir}/applications/toxic.desktop %{_mandir}/man1/toxic.1.* %{_mandir}/man5/toxic.conf.5.* %dir %{_datadir}/toxic %{_datadir}/toxic/nameservers %{_datadir}/toxic/toxic.conf.example %dir %{_datadir}/toxic/sounds %{_datadir}/toxic/sounds/*.wav %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