[bamf-qt] initial import

Jaroslav Reznik jreznik at fedoraproject.org
Fri Jan 27 13:59:42 UTC 2012


commit 0820a46b0f6e69bbcce634684418cf343c6dd91d
Author: Jaroslav Reznik <jreznik at redhat.com>
Date:   Fri Jan 27 14:59:38 2012 +0100

    initial import

 .gitignore                             |    1 +
 bamf-qt-0.1.bzr371-libdir-suffix.patch |   12 +++++
 bamf-qt.spec                           |   72 ++++++++++++++++++++++++++++++++
 sources                                |    1 +
 4 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0b07e76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libqtbamf_0.2.3.orig.tar.gz
diff --git a/bamf-qt-0.1.bzr371-libdir-suffix.patch b/bamf-qt-0.1.bzr371-libdir-suffix.patch
new file mode 100644
index 0000000..130fd5b
--- /dev/null
+++ b/bamf-qt-0.1.bzr371-libdir-suffix.patch
@@ -0,0 +1,12 @@
+diff -up bamf-qt-0.1.bzr371/CMakeLists.txt.libdir-suffix bamf-qt-0.1.bzr371/CMakeLists.txt
+--- bamf-qt-0.1.bzr371/CMakeLists.txt.libdir-suffix	2011-01-26 15:33:05.000000000 +0100
++++ bamf-qt-0.1.bzr371/CMakeLists.txt	2011-01-27 12:56:53.871234207 +0100
+@@ -118,7 +118,7 @@ install(FILES
+ 
+ # FIXME: Generate from ${CMAKE_INSTALL_PREFIX}
+ install(FILES libqtbamf.pc
+-    DESTINATION lib/pkgconfig
++    DESTINATION lib${LIB_SUFFIX}/pkgconfig
+     )
+ 
+ ## QtBamfQml
diff --git a/bamf-qt.spec b/bamf-qt.spec
new file mode 100644
index 0000000..d075069
--- /dev/null
+++ b/bamf-qt.spec
@@ -0,0 +1,72 @@
+Name:           bamf-qt
+Version:        0.2.3
+
+Release:        1%{?dist}
+Summary:        Qt bindings and QML plugin for Bamf DBus server
+
+Group:          System Environment/Libraries
+# LGPLv3 only as upstream does not install GPLv3 example
+License:        LGPLv3
+URL:            https://launchpad.net/bamf-qt/
+
+# there's currently no standalone upstream release
+Source0:        https://launchpad.net/ubuntu/precise/+source/libqtbamf/0.2.3-0ubuntu1/+files/libqtbamf_%{version}.orig.tar.gz
+
+Patch0:         bamf-qt-0.1.bzr371-libdir-suffix.patch
+
+BuildRequires:  bamf-devel
+BuildRequires:  qt4-devel
+BuildRequires:  cmake
+
+
+%description
+%{summary}.
+
+%package devel
+Group:    Development/Libraries
+Summary:  Development files for %{name}
+Requires: %{name} = %{version}-%{release}
+%description devel
+Header files for developing applications using %{name}.
+
+%prep
+%setup -q -n libqtbamf-%{version}
+
+# install pkgconfig and QML plugin to correctly suffixed libdir
+%patch0 -p1 -b .libdir-suffix
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake} ..
+popd
+make %{?_smp_mflags}  -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc README COPYING-GPL3 COPYING-LGPL3
+%{_libdir}/libQtBamf.so.*
+%{_qt4_importdir}/bamf
+
+%files devel
+%{_includedir}/QtBamf 
+%{_libdir}/libQtBamf.so
+%{_libdir}/pkgconfig/libqtbamf.pc
+
+%changelog
+* Fri Jan 27 2012 Jaroslav Reznik <jreznik at redhat.com> - 0.2.3-1
+- update to 0.2.3 release
+
+* Thu Mar 03 2011 Jaroslav Reznik <jreznik at redhat.com> - 0.2-1
+- update to 0.2 release
+
+* Thu Jan 27 2011 Jaroslav Reznik <jreznik at redhat.com> 0.1-0.1.bzr371
+- intial import
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..e943491 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0855bd710efab80141bcbca6527c3136  libqtbamf_0.2.3.orig.tar.gz


More information about the scm-commits mailing list