Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Adapt spec to work on rawhide too.
Browse files Browse the repository at this point in the history
Other fixes that come together:

This involves shipping two config files, to be chosen at build time,
depending on the environment.

 - fixed release tag to be conformant to Fedora naming
 - fixed source URLs to be conformant to Fedora policies
  • Loading branch information
Gustavo Lima Chaves committed Sep 24, 2015
1 parent f94cc67 commit 394facf
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 17 deletions.
16 changes: 10 additions & 6 deletions rpm/config → rpm/config-linux-micro
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,40 @@ HAVE_DLFCN_H=y
HAVE_DOXYGEN=y
HAVE_DUKTAPE_SRC=y
HAVE_FLTO=y
HAVE_GENHTML=y
# HAVE_GENHTML is not set
HAVE_GETRANDOM=y
HAVE_GLIB=y
HAVE_GNU_SOURCE=y
HAVE_GRAPHVIZ=y
# HAVE_GRAPHVIZ is not set
HAVE_GTK=y
HAVE_ICU=y
HAVE_IMAGEMAGICK=y
# HAVE_IMAGEMAGICK is not set
HAVE_ISATTY=y
HAVE_LCOV=y
# HAVE_LCOV is not set
HAVE_LDL=y
HAVE_LIBCURL=y
# HAVE_LIBMICROHTTPD is not set
HAVE_LIBPCRE=y
HAVE_LIB_MATH=y
HAVE_LINUX=y
HAVE_LOCALE=y
HAVE_MOSQUITTO=y
HAVE_NEWLOCALE=y
HAVE_NO_SANITIZE=y
HAVE_PPOLL=y
HAVE_PTHREAD_H=y
HAVE_RANDOM_R=y
# HAVE_RIOTOS is not set
# HAVE_SANITIZE_ADDRESS is not set
HAVE_SANITIZE_UNDEFINED=y
# HAVE_SANITIZE_UNDEFINED is not set
# HAVE_SD_DBUS is not set
HAVE_SOCKET=y
HAVE_STRTOD_L=y
# HAVE_SYSTEMD is not set
HAVE_SYS_AUXV_H=y
HAVE_TAR=y
HAVE_UDEV=y
HAVE_VALGRIND=y
# HAVE_VALGRIND is not set
FEATURE_DYNAMIC_LINKER=y
FEATURE_RUNNABLE_PROGRAMS=y
FEATURE_WORKER_THREADS=y
Expand Down Expand Up @@ -240,6 +241,7 @@ FLOW_C_API_SIMPLECTYPE_SAMPLE=n
FLOW_COMPASS_LSM303_SAMPLE=n
FLOW_FOOSBALL_SAMPLE=n
FLOW_IIO_SAMPLE=n
FLOW_IO_SAMPLE=n
FLOW_GALILEO_GROVE_BUTTON_SAMPLE=n
FLOW_GALILEO_GROVE_LED_ACCUMULATOR_SAMPLE=n
FLOW_GALILEO_GROVE_RELAY_SAMPLE=n
Expand All @@ -263,7 +265,9 @@ FLOW_CALAMARI_RGB_LED_SAMPLE=n
FLOW_MISC_FILE_COPY_SAMPLE=n
FLOW_MISC_RANDOM_NUMBERS_SAMPLE=n
FLOW_MISC_TICKETS_QUEUE_SAMPLE=n
FLOW_OIC_SAMPLE=n
FLOW_TRASH_DISPOSER=n
FLOW_UNIX_SOCKET_SAMPLE=n

#
# Tools
Expand Down
292 changes: 292 additions & 0 deletions rpm/config-systemd
Original file line number Diff line number Diff line change
@@ -0,0 +1,292 @@
#
# Automatically generated file; DO NOT EDIT.
# Soletta configuration
#
HAVE_ACCEPT4=y
HAVE_BUILTIN_ADD_OVERFLOW=y
HAVE_BUILTIN_MUL_OVERFLOW=y
HAVE_BZIP2=y
HAVE_CHECK=y
HAVE_CHRPATH=y
# HAVE_CONTIKI is not set
HAVE_DECL_DLADDR=y
HAVE_DECL_IFLA_INET6_ADDR_GEN_MODE=y
HAVE_DECL_IFLA_INET6_MAX=y
HAVE_DECL_MEMMEM=y
HAVE_DECL_STRNDUPA=y
HAVE_DLFCN_H=y
HAVE_DOXYGEN=y
HAVE_DUKTAPE_SRC=y
HAVE_FLTO=y
# HAVE_GENHTML is not set
HAVE_GETRANDOM=y
HAVE_GLIB=y
HAVE_GNU_SOURCE=y
# HAVE_GRAPHVIZ is not set
HAVE_GTK=y
HAVE_ICU=y
# HAVE_IMAGEMAGICK is not set
HAVE_ISATTY=y
# HAVE_LCOV is not set
HAVE_LDL=y
HAVE_LIBCURL=y
# HAVE_LIBMICROHTTPD is not set
HAVE_LIBPCRE=y
HAVE_LIB_MATH=y
HAVE_LINUX=y
HAVE_LOCALE=y
HAVE_MOSQUITTO=y
HAVE_NEWLOCALE=y
HAVE_NO_SANITIZE=y
HAVE_PPOLL=y
HAVE_PTHREAD_H=y
HAVE_RANDOM_R=y
# HAVE_RIOTOS is not set
# HAVE_SANITIZE_ADDRESS is not set
# HAVE_SANITIZE_UNDEFINED is not set
HAVE_SD_DBUS=y
HAVE_SOCKET=y
HAVE_STRTOD_L=y
HAVE_SYSTEMD=y
HAVE_SYS_AUXV_H=y
HAVE_TAR=y
HAVE_UDEV=y
# HAVE_VALGRIND is not set
FEATURE_DYNAMIC_LINKER=y
FEATURE_RUNNABLE_PROGRAMS=y
FEATURE_WORKER_THREADS=y
FEATURE_UNIX_SOCKETS=y
FEATURE_NETWORK=y
FEATURE_COAP=y
FEATURE_HTTP_CLIENT=y
FEATURE_HW_AIO=y
FEATURE_HW_PWM=y
FEATURE_HW_GPIO=y
FEATURE_HW_UART=y
FEATURE_HW_SPI=y
FEATURE_HW_I2C=y
FEATURE_FLOW=y
FEATURE_FILESYSTEM=y
FEATURE_CC_SANITIZE=y
BASE_OS="linux"
LINUX=y

#
# Basic
#
SHARED_LIBRARY=y
# STATIC_LIBRARY is not set
ENABLE_DYNAMIC_MODULES=y
MODULES=y
PREFIX="/usr"
RPATH=y

#
# Compiler options
#
# BUILD_TYPE_DEBUG is not set
BUILD_TYPE_RELEASE=y
CONFIG_CFLAGS="-g"
CONFIG_LDFLAGS=""
CC_SANITIZE=n
CC_SANITIZE_UNDEFINED=n

#
# Core library
#
BOARD_NAME=""
DETECT_BOARD_NAME=y
PLATFORM_LINUX=y
# PLATFORM_DUMMY is not set
# PLATFORM_LINUX_MICRO is not set
PLATFORM_SYSTEMD=y
SOL_BUS=y
# MAINLOOP_GLIB is not set
MAINLOOP_POSIX=y
PTHREAD=y
WORKER_THREAD=y
LOG=y
# MAXIMUM_LOG_LEVEL_CRITICAL is not set
# MAXIMUM_LOG_LEVEL_ERROR is not set
# MAXIMUM_LOG_LEVEL_WARNING is not set
# MAXIMUM_LOG_LEVEL_INFO is not set
# MAXIMUM_LOG_LEVEL_DEBUG is not set
MAXIMUM_LOG_LEVEL_UNLIMITED=y

#
# Hardware Options
#
USE_AIO=y
USE_PWM=y
USE_SPI=y
USE_UART=y
USE_I2C=y
USE_GPIO=y
USE_PIN_MUX=y
PIN_MUX_INTEL_GALILEO_REV_D=m
PIN_MUX_INTEL_GALILEO_REV_G=m
PIN_MUX_INTEL_EDISON_REV_C=m

#
# Flow Based Programming (FBP)
#
FLOW_SUPPORT=y
NODE_DESCRIPTION=y
RESOLVER_CONFFILE=y
INSPECTOR=y

#
# Metatypes
#
FLOW_METATYPE_JAVASCRIPT=m

#
# Node Types
#
FLOW_NODE_TYPE_ACCELEROMETER=m
FLOW_NODE_TYPE_AIO=y
FLOW_NODE_TYPE_AM2315=m
FLOW_NODE_TYPE_APP=y
FLOW_NODE_TYPE_BOOLEAN=y
FLOW_NODE_TYPE_BYTE=y
FLOW_NODE_TYPE_CALAMARI=m
FLOW_NODE_TYPE_COLOR=y
FLOW_NODE_TYPE_COMPASS=m
FLOW_NODE_TYPE_CONSOLE=y
FLOW_NODE_TYPE_CONSTANT=y
FLOW_NODE_TYPE_CONVERTER=y
FLOW_NODE_TYPE_EVDEV=m
FLOW_NODE_TYPE_FLOWER_POWER=m
FLOW_NODE_TYPE_FILE=m
FLOW_NODE_TYPE_FILTER_REPEATED=y
FLOW_NODE_TYPE_FLOAT=y
FLOW_NODE_TYPE_LOCATION=m
FLOW_NODE_TYPE_GPIO=y
FLOW_NODE_TYPE_GROVE=m
FLOW_NODE_TYPE_GTK=m
FLOW_NODE_TYPE_GYROSCOPE=m
FLOW_NODE_TYPE_IIO=m
FLOW_NODE_TYPE_INT=y
FLOW_NODE_TYPE_KEYBOARD=m
FLOW_NODE_TYPE_LED_7SEG=y
FLOW_NODE_TYPE_LED_STRIP=m
FLOW_NODE_TYPE_MAGNETOMETER=m
FLOW_NODE_TYPE_MAX31855=m
FLOW_NODE_TYPE_NETWORK=m
FLOW_NODE_TYPE_OIC=m
FLOW_NODE_TYPE_PERSISTENCE=m
FLOW_NODE_TYPE_PIEZO_SPEAKER=m
FLOW_NODE_TYPE_PLATFORM=y
FLOW_NODE_TYPE_PROCESS=m
FLOW_NODE_TYPE_PWM=y
FLOW_NODE_TYPE_RANDOM=y
FLOW_NODE_TYPE_SERVO_MOTOR=m
FLOW_NODE_TYPE_STRING=y
USE_ICU=y
USE_LIBPCRE=y
FLOW_NODE_TYPE_SWITCHER=y
FLOW_NODE_TYPE_TEMPERATURE=y
FLOW_NODE_TYPE_TEST=m
FLOW_NODE_TYPE_THINGSPEAK=m
FLOW_NODE_TYPE_TIMER=y
FLOW_NODE_TYPE_TIMESTAMP=y
FLOW_NODE_TYPE_TRIGONOMETRY=y
FLOW_NODE_TYPE_UDEV=m
FLOW_NODE_TYPE_UNIX_SOCKET=m
FLOW_NODE_TYPE_WALLCLOCK=y

#
# Networking
#
NETWORK=y
COAP=y
OIC=y
HTTP=y
HTTP_CLIENT=y
MQTT=y

#
# Samples
#
COAP_SAMPLES=n
COAP_CLIENT_SERVER_SAMPLES=n
OIC_SAMPLES=n
COMMON_SAMPLES=n
PLATFORM_SIMPLE_SAMPLE=n
UART_SAMPLE=n
MQTT_SAMPLES=n
MQTT_PUBLISH_SUBSCRIBE_SAMPLES=n
FLOW_SAMPLES=n
FLOW_FBP_GENERATOR_SAMPLES=n
FLOW_BASICS_CMDLINE_ARGS_SAMPLE=n
FLOW_BASICS_FIBONACCI_SAMPLE=n
FLOW_BASICS_PLATORM_SERVICE_SAMPLE=n
FLOW_BASICS_SIMPLE_SAMPLE=n
FLOW_BASICS_SUBPROCESS_BC_SAMPLE=n
FLOW_C_API_CUSTOM_NODE_TYPES_SAMPLE=n
FLOW_C_API_HIGHLEVEL_SAMPLE=n
FLOW_C_API_LOWLEVEL_SAMPLE=n
FLOW_C_API_SIMPLECTYPE_SAMPLE=n
FLOW_COMPASS_LSM303_SAMPLE=n
FLOW_FOOSBALL_SAMPLE=n
FLOW_IIO_SAMPLE=n
FLOW_IO_SAMPLE=n
FLOW_GALILEO_GROVE_BUTTON_SAMPLE=n
FLOW_GALILEO_GROVE_LED_ACCUMULATOR_SAMPLE=n
FLOW_GALILEO_GROVE_RELAY_SAMPLE=n
FLOW_GALILEO_GROVE_SOUND_SENSOR_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_AUTOSCROLL_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_BLINK_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_CURSOR_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_DISPLAY_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_HELLO_WORLD_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_SCROLL_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_SET_CURSOR_SAMPLE=n
FLOW_GALILEO_GROVE_LCD_TEXT_DIRECTION_SAMPLE=n
FLOW_GTK_GALLERY_SAMPLE=n
FLOW_LD_STRIP_LPD8806_SAMPLE=n
FLOW_CALAMARI_7SEG_SEGMENTS_SAMPLE=n
FLOW_CALAMARI_7SEG_VALUE_SAMPLE=n
FLOW_CALAMARI_BUTTONS_RGB_LED_SAMPLE=n
FLOW_CALAMARI_LED_SAMPLE=n
FLOW_CALAMARI_LEVER_SAMPLE=n
FLOW_CALAMARI_RGB_LED_SAMPLE=n
FLOW_MISC_FILE_COPY_SAMPLE=n
FLOW_MISC_RANDOM_NUMBERS_SAMPLE=n
FLOW_MISC_TICKETS_QUEUE_SAMPLE=n
FLOW_OIC_SAMPLE=n
FLOW_TRASH_DISPOSER=n
FLOW_UNIX_SOCKET_SAMPLE=n

#
# Tools
#
FBP_GENERATOR=y
FBP_RUNNER=y
FBP_TO_DOT=y
FLOW_NODE_TYPES=y

#
# Test suite
#
TEST_ARENA=n
TEST_BUFFER=n
TEST_COAP=n
TEST_FBP=n
TEST_FBP_SCANNER=n
TEST_FLOW=n
TEST_FLOW_BUILDER=n
TEST_FLOW_PARSER=n
TEST_JAVASCRIPT=n
TEST_MAINLOOP=n
TEST_MAINLOOP_LINUX=n
TEST_MAINLOOP_THREADS=n
TEST_MAINLOOP_THREADS_SOL_RUN=n
TEST_MAINLOOP_GLIB_INTEGRATION=n
TEST_MONITORS=n
TEST_STR_SLICE=n
TEST_STR_SPLIT=n
TEST_STR_TABLE=n
TEST_VECTOR=n
TEST_JSON=n
TEST_UTIL=n
Loading

0 comments on commit 394facf

Please sign in to comment.