[telepathy-logger-qt] 0.5.80

Rex Dieter rdieter at fedoraproject.org
Thu Mar 7 14:24:01 UTC 2013


commit d21c1ffa5552dd0890b4bb16573f8be347a5c17e
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu Mar 7 08:23:41 2013 -0600

    0.5.80

 .gitignore                               |    5 +----
 sources                                  |    2 +-
 telepathy-logger-qt-0.5.80-version.patch |   12 ++++++++++++
 telepathy-logger-qt.spec                 |   17 +++++++++++++++--
 4 files changed, 29 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 039a9de..c462753 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-/telepathy-logger-qt-0.4.1.tar.bz2
-/telepathy-logger-qt-0.5.1.tar.bz2
-/telepathy-logger-qt-0.5.2.tar.bz2
-/telepathy-logger-qt-0.5.3.tar.bz2
+/telepathy-logger-qt-0.5.80.tar.bz2
diff --git a/sources b/sources
index fa34e41..716402f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c0a009422e6db904627c2c39b6d572a5  telepathy-logger-qt-0.5.3.tar.bz2
+27cd2ddd3ef88503ca2aa3801ad4cd63  telepathy-logger-qt-0.5.80.tar.bz2
diff --git a/telepathy-logger-qt-0.5.80-version.patch b/telepathy-logger-qt-0.5.80-version.patch
new file mode 100644
index 0000000..c1a562b
--- /dev/null
+++ b/telepathy-logger-qt-0.5.80-version.patch
@@ -0,0 +1,12 @@
+diff -up telepathy-logger-qt-0.5.80/CMakeLists.txt.version telepathy-logger-qt-0.5.80/CMakeLists.txt
+--- telepathy-logger-qt-0.5.80/CMakeLists.txt.version	2013-03-06 18:55:06.000000000 -0600
++++ telepathy-logger-qt-0.5.80/CMakeLists.txt	2013-03-07 07:23:20.414510145 -0600
+@@ -40,7 +40,7 @@ endif(POLICY CMP0011)
+ #   set nano_version to 1
+ set(TP_LOGGER_QT4_MAJOR_VERSION 0)
+ set(TP_LOGGER_QT4_MINOR_VERSION 5)
+-set(TP_LOGGER_QT4_MICRO_VERSION 60)
++set(TP_LOGGER_QT4_MICRO_VERSION 80)
+ set(TP_LOGGER_QT4_NANO_VERSION  0)
+ 
+ # This value contains the library's SOVERSION. This value is to be increased everytime an API/ABI break
diff --git a/telepathy-logger-qt.spec b/telepathy-logger-qt.spec
index 17300f7..9ea6fb6 100644
--- a/telepathy-logger-qt.spec
+++ b/telepathy-logger-qt.spec
@@ -1,5 +1,5 @@
 Name:    telepathy-logger-qt
-Version: 0.5.3
+Version: 0.5.80
 Release: 1%{?dist}
 Summary: Telepathy Logging for Qt 
 
@@ -10,6 +10,8 @@ Source0: http://download.kde.org/unstable/kde-telepathy/%{version}/src/%{name}-%
 ## upstreamable patches
 # pkgconfig Requires.private: +QtGLib 
 Patch50: telepathy-logger-qt-0.4.0-pkgconfig_QtGLib.patch
+# fix version
+Patch51: telepathy-logger-qt-0.5.80-version.patch
 
 BuildRequires: bison
 BuildRequires: cmake
@@ -36,7 +38,8 @@ Requires: telepathy-logger-devel%{?_isa}
 %prep
 %setup -q -n telepathy-logger-qt-%{version}
 
-%patch50 -p1 -b pkgconfig_QtGLib
+%patch50 -p1 -b .pkgconfig_QtGLib
+%patch51 -p1 -b .version
 
 
 %build
@@ -51,6 +54,11 @@ make %{?_smp_mflags} -C %{_target_platform}
 %install
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
+%check
+# verify pkg-config version
+export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
+test "$(pkg-config --modversion TelepathyLoggerQt4)" = "%{version}"
+
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -63,9 +71,14 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 %{_includedir}/telepathy-logger-0.2/TelepathyLoggerQt4/
 %{_libdir}/libtelepathy-logger-qt4.so
 %{_libdir}/pkgconfig/TelepathyLoggerQt4.pc
+%dir %{_libdir}/TelepathyLoggerQt4/
+%{_libdir}/TelepathyLoggerQt4/cmake/
 
 
 %changelog
+* Thu Mar 07 2013 Rex Dieter <rdieter at fedoraproject.org> 0.5.80-1
+- 0.5.80
+
 * Sun Feb 17 2013 Jan Grulich <jgrulich at redhat.com> - 0.5.3-1
 - 0.5.3
 


More information about the scm-commits mailing list