Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:messenger:tox
toxbot
toxbot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File toxbot.spec of Package toxbot
# # spec file for package toxbot # # Copyright (c) 2015 SUSE LINUX 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/ # # See also http://en.opensuse.org/openSUSE:Specfile_guidelines %define realname ToxBot Name: toxbot Version: 0.git.20180710.5615d52 Release: 0 Summary: A remotely controlled Tox bot License: GPL-3.0 Group: Productivity/Networking/Instant Messenger Url: https://github.com/JFreegman/ToxBot Source0: %{realname}-%{version}.tar.xz Patch0: %{name}-max_num_groups.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config BuildRequires: pkgconfig(toxcore) BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(libsodium) BuildRequires: pkgconfig(vpx) #Requires: %description ToxBot is a remotely controlled Tox bot whose purpose is to auto-invite friends to Tox groupchats. It accepts friend requests automatically and will auto-invite friends to the specified group chat (default is group 0 unless set otherwise). It also has the ability to create and leave groups, password protect invites, and send messages to groups. Although current functionality is barebones, it will be easy to expand the bot to act in more comprehensive ways once Tox group chats are fully implemented (e.g. admin duties); this was the main motivation behind creating a proper Tox bot. %package devel Summary: Development files for %{realname} - Development Files Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel Development libraries and headers needed to build software using %{realname}. %prep %setup -q -n %{realname}-%{version} %patch0 -p1 # change location from masterkeys-file sed -ri 's:"masterkeys":"/etc/tox/toxbot/masterkeys":g' src/toxbot.h %build #%%configure make %{?_smp_mflags} %install #make install DESTDIR=%%{buildroot} # bin install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name} # masterkeys install -d -m 0755 %{buildroot}%{_sysconfdir}/tox/%{name} #install -D -m 640 masterkeys %%{buildroot}%%{_sysconfdir}/tox/%%{name}/masterkeys touch %{buildroot}%{_sysconfdir}/tox/%{name}/masterkeys # include install -d -m 0755 %{buildroot}%{_includedir}/%{name} install -D -m 644 src/*h %{buildroot}%{_includedir}/%{name}/ %files %defattr(-,root,root) %doc COPYING README.md commands.txt %dir %{_sysconfdir}/tox %dir %{_sysconfdir}/tox/%{name} %config(noreplace) %attr(0640,root,root) %{_sysconfdir}/tox/%{name}/masterkeys %{_bindir}/%{name} %files devel %defattr(-,root,root) %dir %{_includedir}/%{name} %{_includedir}/%{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