--- /dev/null
+<manifest>\r
+ <request>\r
+ <domain name="_" />\r
+ </request>\r
+</manifest>
\ No newline at end of file
--- /dev/null
+%bcond_without lws_static
+%bcond_without lws_static_prebuilt
+Name: capi-network-vine
+Summary: An service discovery framework
+Version: 1.0.0
+Release: 0
+Group: Network & Connectivity/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(dns_sd)
+%if %{with lws_static}
+BuildRequires: pkgconfig(openssl1.1)
+%endif
+%if %{without lws_static}
+BuildRequires: pkgconfig(libwebsockets)
+%endif
+
+%if 0%{?_with_tizen:1}
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(dlog)
+%endif
+
+BuildRequires: pkgconfig(gmock)
+
+%if 0%{?gcov:1}
+BuildRequires: lcov
+%endif
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+A Vine library is a Tizen Framework to provide service discovery and connection to communicate between devices in a local network
+
+%package devel
+Summary: A Vine library in Native API (Development)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: capi-base-common-devel
+
+%description devel
+A Vine library in Native API (Development)
+
+%package test
+Summary: Vine - Test binaries
+
+%description test
+Test Application for Vine
+
+%if 0%{?gcov:1}
+%package gcov
+Summary: Coverage Data of %{name}
+
+%description gcov
+The %{name}-gcov package contains gcov objects
+%endif
+
+%prep
+%setup -q
+chmod 644 %{SOURCE0}
+cp %{SOURCE1} ./%{name}.manifest
+
+%ifarch %{arm}
+export ARCH=arm
+%else
+export ARCH=i586
+%endif
+
+%build
+%if 0%{?gcov:1}
+export CFLAGS+=" -fprofile-arcs -ftest-coverage"
+export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
+export FFLAGS+=" -fprofile-arcs -ftest-coverage"
+export LDFLAGS+=" -lgcov"
+%endif
+
+%cmake . \
+ -DTIZEN_OS=%{?_with_tizen} \
+ -DCMAKE_BUILD_TYPE=%{?build_type} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DLIB_DIR:PATH=%{_libdir} \
+ -DBIN_DIR:PATH=%{_bindir} \
+ -DINCLUDE_DIR:PATH=%{_includedir} \
+%if %{with lws_static}
+ -DUSE_LIBWEBSOCKETS_STATIC=ON \
+%else
+ -DUSE_LIBWEBSOCKETS_STATIC=OFF \
+%endif
+%if %{with lws_static_prebuilt}
+ -DUSE_LIBWEBSOCKETS_STATIC_PREBUILT=ON \
+%else
+ -DUSE_LIBWEBSOCKETS_STATIC_PREBUILT=OFF \
+%endif
+ -DWITH_UNITTEST=ON \
+ -DWITH_VINE_TEST=ON
+
+make %{?jobs:-j%jobs}
+
+%if 0%{?gcov:1}
+mkdir -p gcov-obj
+find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
+%endif
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%if 0%{?gcov:1}
+mkdir -p %{buildroot}%{_datadir}/gcov/obj
+install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
+%endif
+%check
+%if 0%{?gcov:1}
+LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./tests/unittest/vine-unittest
+%endif
+
+%if 0%{?gcov:1}
+lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info
+genhtml %{name}.info -o out --legend --show-details
+%endif
+
+%if %{with lws_static}
+rm -rf %{buildroot}%{_libdir}/cmake/libwebsockets
+%endif
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*.h
+%if %{with lws_static} && %{without lws_static_prebuilt}
+%{_includedir}/libwebsockets/*.h
+%{_includedir}/libwebsockets/abstract/*.h
+%{_includedir}/libwebsockets/abstract/protocols/*.h
+%{_includedir}/libwebsockets/abstract/transports/*.h
+%endif
+%{_libdir}/*.so
+
+%files test
+%manifest %{name}.manifest
+%attr(755,root,root) %{_bindir}/*
+%attr(644,root,root) %{_datadir}/vine-verifier/certs/rootCA/ca.pem
+%attr(644,root,root) %{_datadir}/vine-verifier/certs/server/*
+
+%if 0%{?gcov:1}
+%files gcov
+%{_datadir}/gcov/obj/*
+%endif
+++ /dev/null
-<manifest>\r
- <request>\r
- <domain name="_" />\r
- </request>\r
-</manifest>
\ No newline at end of file
+++ /dev/null
-%bcond_without lws_static
-%bcond_without lws_static_prebuilt
-Name: vine
-Summary: An service discovery framework
-Version: 1.0.0
-Release: 0
-Group: Network & Connectivity/API
-License: Apache-2.0
-Source0: %{name}-%{version}.tar.gz
-Source1: %{name}.manifest
-
-BuildRequires: cmake
-BuildRequires: pkgconfig(dns_sd)
-%if %{with lws_static}
-BuildRequires: pkgconfig(openssl1.1)
-%endif
-%if %{without lws_static}
-BuildRequires: pkgconfig(libwebsockets)
-%endif
-
-%if 0%{?_with_tizen:1}
-BuildRequires: pkgconfig(capi-base-common)
-BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(dlog)
-%endif
-
-BuildRequires: pkgconfig(gmock)
-
-%if 0%{?gcov:1}
-BuildRequires: lcov
-%endif
-
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-
-%description
-A Vine library is a Tizen Framework to provide service discovery and connection to communicate between devices in a local network
-
-%package devel
-Summary: A Vine library in Native API (Development)
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: capi-base-common-devel
-
-%description devel
-A Vine library in Native API (Development)
-
-%package test
-Summary: Vine - Test binaries
-
-%description test
-Test Application for Vine
-
-%if 0%{?gcov:1}
-%package gcov
-Summary: Coverage Data of %{name}
-
-%description gcov
-The %{name}-gcov package contains gcov objects
-%endif
-
-%prep
-%setup -q
-chmod 644 %{SOURCE0}
-cp %{SOURCE1} ./%{name}.manifest
-
-%ifarch %{arm}
-export ARCH=arm
-%else
-export ARCH=i586
-%endif
-
-%build
-%if 0%{?gcov:1}
-export CFLAGS+=" -fprofile-arcs -ftest-coverage"
-export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
-export FFLAGS+=" -fprofile-arcs -ftest-coverage"
-export LDFLAGS+=" -lgcov"
-%endif
-
-%cmake . \
- -DTIZEN_OS=%{?_with_tizen} \
- -DCMAKE_BUILD_TYPE=%{?build_type} \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DLIB_DIR:PATH=%{_libdir} \
- -DBIN_DIR:PATH=%{_bindir} \
- -DINCLUDE_DIR:PATH=%{_includedir} \
-%if %{with lws_static}
- -DUSE_LIBWEBSOCKETS_STATIC=ON \
-%else
- -DUSE_LIBWEBSOCKETS_STATIC=OFF \
-%endif
-%if %{with lws_static_prebuilt}
- -DUSE_LIBWEBSOCKETS_STATIC_PREBUILT=ON \
-%else
- -DUSE_LIBWEBSOCKETS_STATIC_PREBUILT=OFF \
-%endif
- -DWITH_UNITTEST=ON \
- -DWITH_VINE_TEST=ON
-
-make %{?jobs:-j%jobs}
-
-%if 0%{?gcov:1}
-mkdir -p gcov-obj
-find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
-%endif
-
-%install
-rm -rf %{buildroot}
-%make_install
-
-%if 0%{?gcov:1}
-mkdir -p %{buildroot}%{_datadir}/gcov/obj
-install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
-%endif
-%check
-%if 0%{?gcov:1}
-LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./tests/unittest/vine-unittest
-%endif
-
-%if 0%{?gcov:1}
-lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info
-genhtml %{name}.info -o out --legend --show-details
-%endif
-
-%if %{with lws_static}
-rm -rf %{buildroot}%{_libdir}/cmake/libwebsockets
-%endif
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-%files
-%manifest %{name}.manifest
-%license LICENSE
-%defattr(-,root,root,-)
-%{_libdir}/*.so*
-
-%files devel
-%defattr(-,root,root,-)
-%{_libdir}/pkgconfig/*.pc
-%{_includedir}/*.h
-%if %{with lws_static} && %{without lws_static_prebuilt}
-%{_includedir}/libwebsockets/*.h
-%{_includedir}/libwebsockets/abstract/*.h
-%{_includedir}/libwebsockets/abstract/protocols/*.h
-%{_includedir}/libwebsockets/abstract/transports/*.h
-%endif
-%{_libdir}/*.so
-
-%files test
-%manifest %{name}.manifest
-%attr(755,root,root) %{_bindir}/*
-%attr(644,root,root) %{_datadir}/vine-verifier/certs/rootCA/ca.pem
-%attr(644,root,root) %{_datadir}/vine-verifier/certs/server/*
-
-%if 0%{?gcov:1}
-%files gcov
-%{_datadir}/gcov/obj/*
-%endif