forked from pool/cpprest
Accepting request 311784 from home:AndreasStieger:branches:M17N
cpprest 2.6.0 OBS-URL: https://build.opensuse.org/request/show/311784 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:92168b640c212251c576d0d5e75393870498f7d115815bf860f941094f232700
|
|
||||||
size 2448296
|
|
||||||
3
cpprest-2.6.0.zip
Normal file
3
cpprest-2.6.0.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c81b9d54455071f8e878c2f86a9bf3f29b693c89f8f4beec5bea766968afffcf
|
||||||
|
size 2353292
|
||||||
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 12 09:00:49 UTC 2015 - astieger@suse.com
|
||||||
|
|
||||||
|
- update to 2.6.0
|
||||||
|
* Deprecate streambuf::putn API
|
||||||
|
* File streams cleanup improvements
|
||||||
|
* API detail improvements
|
||||||
|
* Removed dependency on Boost.Locale and libiconv.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 28 09:38:22 UTC 2015 - astieger@suse.com
|
Thu May 28 09:38:22 UTC 2015 - astieger@suse.com
|
||||||
|
|
||||||
|
|||||||
24
cpprest.spec
24
cpprest.spec
@@ -16,14 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define major 2
|
||||||
|
%define minor 6
|
||||||
Name: cpprest
|
Name: cpprest
|
||||||
Version: 2.5.0
|
Version: 2.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ REST library
|
Summary: C++ REST library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Devlopment/Libraries/C and C++
|
Group: Devlopment/Libraries/C and C++
|
||||||
Url: https://casablanca.codeplex.com/
|
Url: https://casablanca.codeplex.com/
|
||||||
Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablanca&changeSetId=25d9ac1966ce#/%{name}-%{version}.zip
|
Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablanca&changeSetId=c7d85ee385c6#/%{name}-%{version}.zip
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cmake >= 2.6
|
BuildRequires: cmake >= 2.6
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@@ -38,11 +40,11 @@ project aims to help C++ developers connect to and interact with services.
|
|||||||
|
|
||||||
Also known as Casablanca.
|
Also known as Casablanca.
|
||||||
|
|
||||||
%package -n libcpprest2_5
|
%package -n libcpprest%{major}_%{minor}
|
||||||
Summary: C++ Rest library
|
Summary: C++ Rest library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libcpprest2_5
|
%description -n libcpprest%{major}_%{minor}
|
||||||
The C++ REST SDK is a Microsoft project for cloud-based client-server
|
The C++ REST SDK is a Microsoft project for cloud-based client-server
|
||||||
communication in native code using a modern asynchronous C++ API design. This
|
communication in native code using a modern asynchronous C++ API design. This
|
||||||
project aims to help C++ developers connect to and interact with services.
|
project aims to help C++ developers connect to and interact with services.
|
||||||
@@ -50,7 +52,7 @@ project aims to help C++ developers connect to and interact with services.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libcpprest2_5 = %{version}
|
Requires: libcpprest%{major}_%{minor} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The C++ REST SDK is a Microsoft project for cloud-based client-server
|
The C++ REST SDK is a Microsoft project for cloud-based client-server
|
||||||
@@ -70,17 +72,17 @@ make %{?_smp_mflags}
|
|||||||
mkdir -p %{buildroot}%{_includedir}
|
mkdir -p %{buildroot}%{_includedir}
|
||||||
cp -r Release/include/* %{buildroot}%{_includedir}/
|
cp -r Release/include/* %{buildroot}%{_includedir}/
|
||||||
install -d -m 755 %{buildroot}%{_libdir}
|
install -d -m 755 %{buildroot}%{_libdir}
|
||||||
cp build/Binaries/libcpprest.so.2.5 %{buildroot}%{_libdir}/
|
cp build/Binaries/libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/
|
||||||
ln -sf libcpprest.so.2.5 %{buildroot}%{_libdir}/libcpprest.so
|
ln -sf libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/libcpprest.so
|
||||||
|
|
||||||
%post -n libcpprest2_5 -p /sbin/ldconfig
|
%post -n libcpprest%{major}_%{minor} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libcpprest2_5 -p /sbin/ldconfig
|
%postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libcpprest2_5
|
%files -n libcpprest%{major}_%{minor}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CONTRIBUTORS.txt license.txt
|
%doc CONTRIBUTORS.txt license.txt
|
||||||
%{_libdir}/libcpprest.so.2.5
|
%{_libdir}/libcpprest.so.%{major}.%{minor}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|||||||
Reference in New Issue
Block a user