Skip to content

Commit

Permalink
Initial git package of 0.10.8 as mer-master
Browse files Browse the repository at this point in the history
  • Loading branch information
Islam Amer committed May 24, 2013
1 parent c8dffd2 commit c37d4e6
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.osc
1 change: 1 addition & 0 deletions _src
@@ -0,0 +1 @@
pristine-tar:libwbxml-0.10.8.tar.gz:mer-0.10.8:mer-0.10.8-1
5 changes: 5 additions & 0 deletions libwbxml2.changes
@@ -0,0 +1,5 @@
* Thu Oct 21 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.10.8
- Fix license

* Wed Jun 23 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.10.8
- Initial version for MeeGo
63 changes: 63 additions & 0 deletions libwbxml2.spec
@@ -0,0 +1,63 @@
%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

0 comments on commit c37d4e6

Please sign in to comment.