Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
armv6l
>
libwbxml2
> _service:gitpkg:libwbxml2.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:gitpkg:libwbxml2.spec of Package libwbxml2
%define _name libwbxml Name: libwbxml2 Version: 0.10.8 Release: 1 Summary: Library to parse, encode and handle WBXML documents Group: System/Libraries License: LGPLv2.1 Source0: %{_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: expat-devel zlib-devel popt-devel BuildRequires: pkgconfig(libxml-2.0) BuildRequires: cmake %description The WBXML Library (aka libwbxml) contains a library and its associated tools to Parse, Encode and Handle WBXML documents. The WBXML format is a binary representation of XML, defined by the Wap Forum, and used to reduce bandwidth in mobile communications. %files %defattr(-,root,root,-) %{_bindir}/* %{_libdir}/*.so.* %doc %{_docdir}/* %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel %{summary}. %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %prep %setup -q -n %{_name}-%{version} mkdir build %build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make %install rm -rf %{buildroot} make -C build DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig