From 21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Thu, 10 Nov 2011 18:04:39 -0500 Subject: initial commit to suse branch: eclipse integration --- opensuse/core/libdbus-tqt-1-0/libdbus-tqt-1-0.spec | 147 +++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 opensuse/core/libdbus-tqt-1-0/libdbus-tqt-1-0.spec (limited to 'opensuse/core/libdbus-tqt-1-0/libdbus-tqt-1-0.spec') diff --git a/opensuse/core/libdbus-tqt-1-0/libdbus-tqt-1-0.spec b/opensuse/core/libdbus-tqt-1-0/libdbus-tqt-1-0.spec new file mode 100644 index 000000000..85cfb9d28 --- /dev/null +++ b/opensuse/core/libdbus-tqt-1-0/libdbus-tqt-1-0.spec @@ -0,0 +1,147 @@ +# +# spec file for package dbus-1-tqt +# +# Copyright (c) 2011 the Trinity Project (opensuse). +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.trinitydesktop.org/ +# + +# norootforbuild + + +Name: libdbus-tqt-1-0 +BuildRequires: dbus-1 dbus-1-devel libtqt4-devel cmake +URL: http://dbus.freedesktop.org/ +License: GPLv2+ +Group: Development/Libraries/TDE +Version: 0.62 +Release: 1 +AutoReqProv: on +Summary: TQt/KDE bindings for D-Bus +Source0: dbus-tqt-%{version}.tar.bz2 +Source1: baselibs.conf +Patch0: dbus-qt3-compile-fix-thoenig-01.patch +Patch1: dbus-qt3-do-not-close-shared-connection-thoenig-01.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`) +Provides: dbus-1-tqt + +%package devel +License: Other uncritical OpenSource License +Summary: Developer package for TQt/KDE bindings for D-Bus +Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`) +Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`) +Requires: %{name} = %{version} +Provides: dbus-1-tqt-devel +AutoReqProv: on +Group: Development/Libraries/TDE + +%description +TQt/KDE bindings for D-Bus. + + + +Authors: +-------- + Olivier Andrieu + Philip Blundell + Anders Carlsson + Kristian Hogsberg + Alex Larsson + Michael Meeks + Seth Nickell + Havoc Pennington + Harri Porten + Matthew Rickard + Zack Rusin + Joe Shaw + Colin Walters + David Zeuthen + +%description devel +Developer package for TQt/KDE bindings for D-Bus. + + + +Authors: +-------- + Olivier Andrieu + Philip Blundell + Anders Carlsson + Kristian Hogsberg + Alex Larsson + Michael Meeks + Seth Nickell + Havoc Pennington + Harri Porten + Matthew Rickard + Zack Rusin + Joe Shaw + Colin Walters + David Zeuthen + +%prep +%setup -n dbus-tqt-%{version} -q +#%patch0 -p0 +#%patch1 -p0 + +%build +RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -fstack-protector -fno-strict-aliasing -fPIC" +export CFLAGS="${RPM_OPT_FLAGS}" +export CXXFLAGS="${RPM_OPT_FLAGS}" +mkdir build +cd build + cmake -DCMAKE_SKIP_RPATH=ON \\\ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \\\ + -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\ +      -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\ + -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\ + -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir} \\\ + -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\ + -DCMAKE_VERBOSE_MAKEFILE=ON \\\ +      -DQT_LIBRARY_DIRS=/usr/lib/qt3/%{_lib} \\\ +      -DQT_INCLUDE_DIRS=/usr/lib/qt3/include \\\ + -DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \\\ + -DMAN_INSTALL_DIR=%{_mandir} \ + ../ +make + +%install +cd build +make DESTDIR=%{buildroot} install + +%post +%{run_ldconfig} + +%postun +%{run_ldconfig} + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-, root, root) +%{_libdir}/libdbus-tqt-1.so.0* + +%files devel +%defattr(-, root, root) +%dir %{_includedir}/dbus-1.0 +%dir %{_includedir}/dbus-1.0/dbus +%{_includedir}/dbus-1.0/dbus/connection.h +%{_includedir}/dbus-1.0/dbus/dbus-qt.h +%{_includedir}/dbus-1.0/dbus/message.h +%{_includedir}/dbus-1.0/dbus/server.h +%{_libdir}/libdbus-tqt-1.la +%{_libdir}/libdbus-tqt-1.so +%{_libdir}/pkgconfig/dbus-tqt.pc + +%changelog -- cgit v1.2.3