Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial git package of 0.10.8 as mer-master
- Loading branch information
Islam Amer
committed
May 24, 2013
1 parent
c8dffd2
commit c37d4e6
Showing
4 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.osc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pristine-tar:libwbxml-0.10.8.tar.gz:mer-0.10.8:mer-0.10.8-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |