forked from pool/cmis-client
- Whitespace cleanup here&there.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmis-client?expand=0&rev=20
This commit is contained in:
parent
c9d96e9b67
commit
e452b79c9d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 30 10:58:01 UTC 2013 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Whitespace cleanup here&there.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 12 04:58:21 UTC 2013 - jengelh@inai.de
|
Tue Nov 12 04:58:21 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -19,13 +19,12 @@
|
|||||||
%define soname 0_4-4
|
%define soname 0_4-4
|
||||||
%define incname 0.4
|
%define incname 0.4
|
||||||
%define _name libcmis
|
%define _name libcmis
|
||||||
|
|
||||||
Name: cmis-client
|
Name: cmis-client
|
||||||
Version: 0.4.1
|
Version: 0.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Sample CMIS client
|
Summary: Sample CMIS client
|
||||||
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://sourceforge.net/projects/libcmis/
|
Url: http://sourceforge.net/projects/libcmis/
|
||||||
Source0: %{_name}-%{version}.tar.gz
|
Source0: %{_name}-%{version}.tar.gz
|
||||||
BuildRequires: boost-devel >= 1.42
|
BuildRequires: boost-devel >= 1.42
|
||||||
@ -37,8 +36,8 @@ BuildRequires: libcurl-devel
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires: %{_name}-%{soname} = %{version}
|
Requires: %{_name}-%{soname} = %{version}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sample client to access CMIS-enabled repositories using libcmis.
|
Sample client to access CMIS-enabled repositories using libcmis.
|
||||||
@ -54,7 +53,7 @@ connect to any CMIS-enabled repositories.
|
|||||||
|
|
||||||
%package -n %{_name}-devel
|
%package -n %{_name}-devel
|
||||||
Summary: Libcmis development files
|
Summary: Libcmis development files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{_name}-%{soname} = %{version}
|
Requires: %{_name}-%{soname} = %{version}
|
||||||
|
|
||||||
%description -n %{_name}-devel
|
%description -n %{_name}-devel
|
||||||
@ -71,7 +70,7 @@ It is only a wrapper for its C++ sister libcmis.
|
|||||||
|
|
||||||
%package -n %{_name}-c-devel
|
%package -n %{_name}-c-devel
|
||||||
Summary: Libcmis-c development files
|
Summary: Libcmis-c development files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{_name}-c-%{soname} = %{version}
|
Requires: %{_name}-c-%{soname} = %{version}
|
||||||
|
|
||||||
%description -n %{_name}-c-devel
|
%description -n %{_name}-c-devel
|
||||||
@ -82,8 +81,8 @@ This allows C applications to connect to any CMIS-enabled repositories. It is on
|
|||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
|
export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
|
||||||
export CXXFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
|
||||||
%configure \
|
%configure \
|
||||||
--disable-long-tests \
|
--disable-long-tests \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@ -91,11 +90,11 @@ export CXXFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
|||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check %{?_smp_mflags}
|
||||||
|
|
||||||
%post -n %{_name}-%{soname} -p /sbin/ldconfig
|
%post -n %{_name}-%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user