From: Jihoon Park Date: Fri, 3 Jun 2016 05:18:32 +0000 (+0900) Subject: Clean up spec file for OBS build X-Git-Tag: submit/tizen/20160603.071703^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F72920%2F2;p=platform%2Fcore%2Fconvergence%2Fapp-comm-svc.git Clean up spec file for OBS build Change-Id: I0ff4c7f4fd593543867a06a1cc4f464459a25902 Signed-off-by: Jihoon Park --- diff --git a/msf_tizen_client/packaging/msf-api.manifest b/msf_tizen_client/packaging/msf-api.manifest deleted file mode 100755 index 97e8c31..0000000 --- a/msf_tizen_client/packaging/msf-api.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/msf_tizen_client/packaging/msf-api.spec b/msf_tizen_client/packaging/msf-api.spec deleted file mode 100755 index a972d25..0000000 --- a/msf_tizen_client/packaging/msf-api.spec +++ /dev/null @@ -1,77 +0,0 @@ -Name: msf-api -Summary: msf-api Shared Library -Version: 0.1.1 -Release: 1 -Group: System/Libraries -License: Apache-2.0 -Source0: %{name}-%{version}.tar.gz - -BuildRequires: cmake -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(gio-2.0) -BuildRequires: pkgconfig(json-glib-1.0) -BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(libwebsockets) -BuildRequires: libcurl-devel -BuildRequires: pkgconfig(openssl) -BuildRequires: capi-network-nsd -BuildRequires: capi-network-nsd-devel -BuildRequires: curl - -%description -msf-api Shared Library - -%prep -%setup -q - -%build -MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` - -export CFLAGS+=" -Wextra -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wswitch-default" -export CXXFLAGS+=" -Wextra -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wswitch-default -Wnon-virtual-dtor -Wno-c++0x-compat -std=c++0x" - -export CFLAGS+=" -Wno-unused-parameter -Wno-empty-body" -export CXXFLAGS+=" -Wno-unused-parameter -Wno-empty-body" - -export CFLAGS+=" -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-strict-aliasing -fno-unroll-loops -fsigned-char -fstrict-overflow -fno-common" -export CXXFLAGS+=" -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-strict-aliasing -fno-unroll-loops -fsigned-char -fstrict-overflow" - -export CFLAGS+=" -DTIZEN_ENGINEER_MODE" -export CXXFLAGS+=" -DTIZEN_ENGINEER_MODE" -export FFLAGS+=" -DTIZEN_ENGINEER_MODE" - -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DMAJORVER=${MAJORVER} -DFULLVER=%{version} -make %{?jobs:-j%jobs} - -%install -rm -rf %{buildroot} -%make_install - -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%manifest packaging/%{name}.manifest -%defattr(-,root,root,-) -%{_libdir}/*.so* -/usr/share/license/%{name} -/usr/bin/msf-api-test* - -%package devel -Summary: msf-api Shared Library (Development) -Group: System/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -msf-api Shared Library (DEV) - -%files devel -%defattr(-,root,root,-) -%{_includedir}/msf-api/*.h -%{_libdir}/pkgconfig/%{name}.pc diff --git a/packaging/remote-server.spec b/packaging/app-comm-svc.spec similarity index 100% rename from packaging/remote-server.spec rename to packaging/app-comm-svc.spec