Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
wbxml2
wbxml2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wbxml2.spec of Package wbxml2
# # spec file for package wbxml2 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild # set libname %define libname libwbxml2-0 Name: wbxml2 BuildRequires: cmake gcc-c++ libexpat-devel pkg-config popt-devel zlib-devel Url: http://libwbxml.opensync.org/ License: LGPL-2.1+ Group: System/Libraries Summary: WBXML parser and compiler library Version: 0.10.9 Release: 1 AutoReqProv: on Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description wbxml2 is a library that includes a WBXML parser and a WBXML compiler. Unlike wbxml, it does not depend on libxml2 but on expat, making it faster and more portable. WBXML Library contains a library and its associated tools to Parse, Encode and Handle WBXML documents. The WBXML (Wireless Binary XML) format is a binary representation of XML, and it has been defined by the Wap Forum. Authors: -------- Aymerick Jéhanne <libwbxml@aymerick.com> Michael Bell <michael.bell@opensync.org> %package -n %{libname} License: LGPL-2.1+ Summary: WBXML parser and compiler library Group: System/Libraries %description -n %{libname} wbxml2 is a library that includes a WBXML parser and a WBXML compiler. Unlike wbxml, it does not depend on libxml2 but on expat, making it faster and more portable. WBXML Library contains a library and its associated tools to Parse, Encode and Handle WBXML documents. The WBXML (Wireless Binary XML) format is a binary representation of XML, and it has been defined by the Wap Forum. Authors: -------- Aymerick Jéhanne <libwbxml@aymerick.com> Michael Bell <michael.bell@opensync.org> %package -n wbxml2-tools License: GPL-2.0+ Summary: Tools for libwbxml2 Group: Productivity/Other Requires: %{libname} = %{version} # package was called wbxml2 in openSUSE < 11.2 Provides: wbxml2 = %{version} Obsoletes: wbxml2 < %{version} %description -n wbxml2-tools wbxml2 is a library that includes a WBXML parser and a WBXML compiler. Unlike wbxml, it does not depend on libxml2 but on expat, making it faster and more portable. WBXML Library contains a library and its associated tools to Parse, Encode and Handle WBXML documents. The WBXML (Wireless Binary XML) format is a binary representation of XML, and it has been defined by the Wap Forum. Authors: -------- Aymerick Jéhanne <libwbxml@aymerick.com> Michael Bell <michael.bell@opensync.org> %package -n libwbxml2-devel License: LGPL-2.1+ Summary: WBXML parser and compiler library Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} glibc-devel libexpat-devel %description -n libwbxml2-devel wbxml2 is a library that includes a WBXML parser and a WBXML compiler. Unlike wbxml, it does not depend on libxml2 but on expat, making it faster and more portable. WBXML Library contains a library and its associated tools to Parse, Encode and Handle WBXML documents. The WBXML (Wireless Binary XML) format is a binary representation of XML, and it has been defined by the Wap Forum. Authors: -------- Aymerick Jéhanne <libwbxml@aymerick.com> Michael Bell <michael.bell@opensync.org> %prep %setup -q %build %__mkdir build pushd build CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" \ cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DENABLE_INSTALL_DOC:BOOL=OFF \ %if %{_lib} == lib64 -DLIB_SUFFIX=64 \ %endif %{_builddir}/%{name}-%{version} %__make %{?jobs:-j%jobs} VERBOSE=1 popd %install pushd build %makeinstall popd %clean %__rm -rf %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README References TODO %{_libdir}/libwbxml2.so.0* %files -n libwbxml2-devel %defattr(-,root,root) %{_libdir}/pkgconfig/libwbxml2.pc %{_libdir}/libwbxml2.so %{_prefix}/include/wbxml* %files -n wbxml2-tools %defattr(-,root,root) %{_prefix}/bin/wbxml2xml %{_prefix}/bin/xml2wbxml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor