[packages/dbus-1-tqt] new, based on pld's dbus-qt3.spec
glen
glen at pld-linux.org
Sun Mar 22 08:41:55 CET 2015
commit 741f82bdfbaa745576d772f04db9c1c2d69bbac2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 22 09:38:23 2015 +0200
new, based on pld's dbus-qt3.spec
dbus-1-tqt.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
qt.patch | 13 +++++++++
2 files changed, 102 insertions(+)
---
diff --git a/dbus-1-tqt.spec b/dbus-1-tqt.spec
new file mode 100644
index 0000000..49f5fa6
--- /dev/null
+++ b/dbus-1-tqt.spec
@@ -0,0 +1,89 @@
+%define tde_ver R14.0.0
+Summary: DBus bindings for the Trinity Qt interface
+Name: dbus-1-tqt
+Version: 0.9
+Release: 0.1
+# AFL v2.1 or GPL v2+, but Qt license enforces GPL
+License: GPL v2+
+Group: Libraries
+Source0: http://tde-mirror.yosemite.net/trinity/releases/R14.0.0/dependencies/%{name}-%{tde_ver}.tar.bz2
+# Source0-md5: 851c2184a4fcf2df48601499b793a74f
+Patch0: qt.patch
+URL: http://www.freedesktop.org/Software/DBusBindings
+BuildRequires: cmake >= 2.8
+BuildRequires: dbus-devel >= 0.91
+BuildRequires: libstdc++-devel
+BuildRequires: pkgconfig
+BuildRequires: qt-devel >= 6:3.1.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+D-BUS add-on library to integrate the standard D-BUS library with the
+Qt thread abstraction and main loop.
+
+%description -l pl.UTF-8
+Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
+z abstrakcją wątków i główną pętlą Qt.
+
+%package devel
+Summary: Header files for Qt-based library for using D-BUS
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: dbus-devel >= 0.91
+
+%description devel
+Header files for Qt-based library for using D-BUS.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt.
+
+%package static
+Summary: Static Qt-based library for using D-BUS
+Summary(pl.UTF-8): Statyczna biblioteka do używania D-BUS oparta o Qt
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static Qt-based library for using D-BUS.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka do używania D-BUS oparta o Qt.
+
+%prep
+%setup -qc
+mv dependencies/dbus-1-tqt/* .
+%patch0 -p1
+
+%build
+install -d build
+cd build
+%cmake \
+ -DWITH_GCC_VISIBILITY=ON \
+ ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/libdbus-1-tqt.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdbus-1-tqt.so.0
+%attr(755,root,root) %{_bindir}/dbusxml2qt3
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdbus-1-tqt.so
+%{_libdir}/libdbus-1-tqt.la
+%{_includedir}/dbus-1-tqt
+%{_pkgconfigdir}/dbus-1-tqt.pc
diff --git a/qt.patch b/qt.patch
new file mode 100644
index 0000000..c1f96b2
--- /dev/null
+++ b/qt.patch
@@ -0,0 +1,13 @@
+build with qt3, not tqt3
+
+--- dbus-1-tqt-R14.0.0/tqdbusunixfd.h~ 2013-11-19 03:30:25.000000000 +0200
++++ dbus-1-tqt-R14.0.0/tqdbusunixfd.h 2015-03-21 14:24:10.493946492 +0200
+@@ -26,7 +26,7 @@
+
+ #include "dbus/dbus.h"
+ #ifndef QT_H
+-#include "ntqshared.h"
++#include "qshared.h"
+ #endif // QT_H
+
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dbus-1-tqt.git/commitdiff/741f82bdfbaa745576d772f04db9c1c2d69bbac2
More information about the pld-cvs-commit
mailing list