summaryrefslogtreecommitdiff
path: root/libwbxml.spec
diff options
context:
space:
mode:
authorElan Ruusamäe2010-11-22 07:42:15 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit38663748571a11d62f77c852dc710bb611f98f87 (patch)
tree3ae4f8a7e83a3b99680558681f232a0a9b826c69 /libwbxml.spec
parent84ddb35953fb0e8c84ed0a4f2f77952bd2f408d6 (diff)
downloadlibwbxml-38663748571a11d62f77c852dc710bb611f98f87.zip
libwbxml-38663748571a11d62f77c852dc710bb611f98f87.tar.gz
- use cmake default params from rpm build macros
Changed files: libwbxml.spec -> 1.25
Diffstat (limited to 'libwbxml.spec')
-rw-r--r--libwbxml.spec10
1 files changed, 3 insertions, 7 deletions
diff --git a/libwbxml.spec b/libwbxml.spec
index d8fb339..dadb3bb 100644
--- a/libwbxml.spec
+++ b/libwbxml.spec
@@ -12,12 +12,13 @@ License: LGPL v2.1+
Group: Libraries
Source0: http://downloads.sourceforge.net/libwbxml/%{name}-%{version}.tar.bz2
# Source0-md5: 7b51c425fc2ff9f502cd9b1e291b1955
-Patch15: wbxml2-r59.patch
+Patch0: wbxml2-r59.patch
URL: http://libwbxml.opensync.org/
BuildRequires: cmake
BuildRequires: expat-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
+BuildRequires: rpmbuild(macros) >= 1.577
BuildConflicts: wbxml2
Obsoletes: libwbxml2
Obsoletes: wbxml2
@@ -51,19 +52,14 @@ Pliki nagłówkowe biblioteki WBXML.
%prep
%setup -q
-%patch15 -p3
+%patch0 -p3
%build
install -d build
cd build
%cmake .. \
- -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-%if "%{_lib}" != "lib"
- -DLIB_SUFFIX=64
-%endif
%{__make}