diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-05-27 15:37:23 -0400 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-11 20:47:09 +0900 |
commit | 827ec1aa87225415c3740c55e6ab2391626ebc1d (patch) | |
tree | 621249d4a87b2efbd1d31b1959c7f559a212469a | |
parent | bcae983fb18673dca91f98ae37c1b5d3c5fe8126 (diff) | |
download | libzypp-bindings-827ec1aa87225415c3740c55e6ab2391626ebc1d.tar.gz libzypp-bindings-827ec1aa87225415c3740c55e6ab2391626ebc1d.tar.bz2 libzypp-bindings-827ec1aa87225415c3740c55e6ab2391626ebc1d.zip |
add packaging files
-rw-r--r-- | packaging/libzypp-bindings.changes | 27 | ||||
-rw-r--r-- | packaging/libzypp-bindings.spec | 61 |
2 files changed, 88 insertions, 0 deletions
diff --git a/packaging/libzypp-bindings.changes b/packaging/libzypp-bindings.changes new file mode 100644 index 0000000..9c7e7df --- /dev/null +++ b/packaging/libzypp-bindings.changes @@ -0,0 +1,27 @@ +* Tue Dec 20 2011 Zhang Qiang <qiang.z.zhang@intel.com> - 0.5.9.1 +- depend special version of libzypp for opensuse 11.4 and 11.3 + +* Mon Oct 24 2011 Zhang Qiang <qiang.z.zhang@intel.com> - 0.5.9 +- Add loadSolvFile API to load solv file + +* Sun Sep 18 2011 Zhang Qiang <qiang.z.zhang@intel.com> - 0.5.9 +- Add CapNames to return provides info +- Add a patch to provide PoolQuery interface. + +* Fri Sep 02 2011 Gui Chen <gui.chen@intel.com> - 0.5.9 +- Update to 0.5.9 + +* Mon Aug 01 2011 Gui Chen <gui.chen@intel.com> - 0.5.8 +- Added armv7tnhl and armv7thl support + +* Fri Jan 21 2011 Marko Saukko <marko.saukko@cybercom.com> - 0.5.8 +- Added armv7hl and armv7nhl architectures (BMC#12713) + +* Tue Jan 04 2011 Yi Yang <yi.y.yang@intel.com> - 0.5.8 +- Support builtin arm architectures + +* Fri Dec 17 2010 Yi Yang <yi.y.yang@intel.com> - 0.5.8 +- Update to 0.5.8 + +* Thu Nov 25 2010 Yi Yang <yi.y.yang@intel.com> - 0.5.7 +- Update to 0.5.7 diff --git a/packaging/libzypp-bindings.spec b/packaging/libzypp-bindings.spec new file mode 100644 index 0000000..6ce9957 --- /dev/null +++ b/packaging/libzypp-bindings.spec @@ -0,0 +1,61 @@ +# +# spec file for package libzypp-bindings +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +Name: libzypp-bindings +Version: 0.5.12 +Release: 0 +License: GPL-2.0+ +Summary: Bindings for libzypp +Group: Development/Sources +Source: %{name}-%{version}.tar.gz + +BuildRequires: cmake gcc-c++ python-devel +BuildRequires: swig + +BuildRequires: libzypp-devel + +%description +This package provides bindings for libzypp, the library for package management. + +%prep +%setup -q + +%build +mkdir build +cd build +%cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \ + -DPYTHON_SITEDIR=%{python_sitearch} \ + -DLIB=%{_lib} \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ + -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=1 \ + .. +make -j1 + +%install +cd build +make install DESTDIR=$RPM_BUILD_ROOT + +%clean + +%package -n python-zypp +Summary: Python bindings for libzypp +Group: Development/Languages/Python +Requires: libzypp + +%description -n python-zypp +Python bindings of libzypp + + +%files -n python-zypp +%defattr(-,root,root,-) +%{python_sitearch}/_zypp.so +%{python_sitearch}/zypp.py* |