Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cabelo:Manakin
modoki
modoki.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File modoki.spec of Package modoki
# # spec file for package modoki # # Copyright (c) 2017 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: modoki Version: 1.0.1 Release: 1.1 License: GPL-3 Packager: Alessandro de Oliveira Faria (A.K.A CABELO) <cabelo@opensuse.org> Summary: Webserver to make REST with native lib. URL: http://modoki.assuntonerd.com.br Source: %{name}-%{version}.tar.gz Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: -post-build-checks -rpmlint-Factory -rpmlint-mini -rpmlint BuildRequires: gcc-c++, make, boost_1_61-devel libopenssl-devel systemd-devel glibc-devel libboost_system1_61_0 libboost_thread1_61_0 libboost_filesystem1_61_0 libboost_date_time1_61_0 libboost_regex1_61_0 libboost_chrono1_61_0 libboost_atomic1_61_0 automake libtool libjson-c-devel BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libboost_system1_61_0 libboost_thread1_61_0 libboost_filesystem1_61_0 libboost_date_time1_61_0 libboost_regex1_61_0 libboost_chrono1_61_0 libboost_atomic1_61_0 libjson-c2 %description A very simple webserver, fast and multithreaded. Created to be an easy way to make REST with dinamic and static native lib. %prep %setup -q %build #export CPPFLAGS="$RPM_OPT_FLAGS" #export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)" #cd $RPM_SOURCE_DIR/%{name}-%{version} make %{?_smp_mflags} cd plugins/hello make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install cd plugins/hello make DESTDIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_datadir}/opt/modoki/bin/modoki %{_datadir}/opt/modoki/lib64/* %{_prefix}/usr/lib/systemd/system/modoki.service %clean %post /sbin/ldconfig ln -s /opt/modoki/lib64/liba200.so.1.0.2 /opt/modoki/lib64/liba200.so %postun /sbin/ldconfig %changelog * Mon Dec 03 2017 - cabelo (at) opensuse.org 1.0.1 - Initial version
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