summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec')
-rw-r--r--redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec58
1 files changed, 32 insertions, 26 deletions
diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
index c8175b29a..ef6247ec4 100644
--- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
+++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
@@ -1,5 +1,6 @@
# Always install under standard prefix
%define tde_prefix /usr
+%define tde_version 14.0.0
%define tde_bindir %{tde_prefix}/bin
%define tde_includedir %{tde_prefix}/include
@@ -33,13 +34,26 @@ BuildRequires: trinity-tqtinterface-devel >= %{version}
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
-BuildRequires: trinity-tqt3-devel >= %{version}
-Requires: trinity-tqt3 >= %{version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
+Requires: trinity-tqt3 >= 3.5.0
%description
Dbus TQT Interface
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/dbusxml2qt3
+%{tde_libdir}/libdbus-1-tqt.so.0
+%{tde_libdir}/libdbus-1-tqt.so.0.0.0
+
+##########
%package devel
Requires: %{name}
@@ -52,6 +66,21 @@ Provides: dbus-1-tqt-devel = %{version}-%{release}
%description devel
Development files for %{name}
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/*.h
+%{tde_libdir}/libdbus-1-tqt.so
+%{tde_libdir}/libdbus-1-tqt.la
+%{tde_libdir}/pkgconfig/*.pc
+
+##########
+
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
@@ -83,33 +112,10 @@ cd build
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
+
%clean
%__rm -rf %{?buildroot}
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-%files
-%defattr(-,root,root,-)
-%{tde_bindir}/dbusxml2qt3
-%{tde_libdir}/libdbus-1-tqt.so.0
-%{tde_libdir}/libdbus-1-tqt.so.0.0.0
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_includedir}/*.h
-%{tde_libdir}/libdbus-1-tqt.so
-%{tde_libdir}/libdbus-1-tqt.la
-%{tde_libdir}/pkgconfig/*.pc
%changelog
* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1