SHA256
1
0
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:
Tomáš Chvátal 2013-12-30 10:58:12 +00:00 committed by Git OBS Bridge
parent c9d96e9b67
commit e452b79c9d
2 changed files with 14 additions and 10 deletions

View File

@ -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

View File

@ -19,13 +19,12 @@
%define soname 0_4-4
%define incname 0.4
%define _name libcmis
Name: cmis-client
Version: 0.4.1
Release: 0
Summary: Sample CMIS client
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/
Source0: %{_name}-%{version}.tar.gz
BuildRequires: boost-devel >= 1.42
@ -37,8 +36,8 @@ BuildRequires: libcurl-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{_name}-%{soname} = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Sample client to access CMIS-enabled repositories using libcmis.
@ -54,7 +53,7 @@ connect to any CMIS-enabled repositories.
%package -n %{_name}-devel
Summary: Libcmis development files
Group: Development/Libraries/C and C++
Group: Development/Libraries/C and C++
Requires: %{_name}-%{soname} = %{version}
%description -n %{_name}-devel
@ -71,7 +70,7 @@ It is only a wrapper for its C++ sister libcmis.
%package -n %{_name}-c-devel
Summary: Libcmis-c development files
Group: Development/Libraries/C and C++
Group: Development/Libraries/C and C++
Requires: %{_name}-c-%{soname} = %{version}
%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}
%build
export CFLAGS="%optflags -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
export CXXFLAGS="%optflags $(getconf LFS_CFLAGS)"
export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
%configure \
--disable-long-tests \
--disable-static \
@ -91,11 +90,11 @@ export CXXFLAGS="%optflags $(getconf LFS_CFLAGS)"
make %{?_smp_mflags} V=1
%install
make DESTDIR=$RPM_BUILD_ROOT install
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%check
make check
make check %{?_smp_mflags}
%post -n %{_name}-%{soname} -p /sbin/ldconfig