2024-01-05 18:24:01 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-05 18:24:01 +01:00
|
|
|
Name: telepathy-logger-qt
|
2024-01-05 18:24:01 +01:00
|
|
|
Version: 17.08.0
|
2024-01-05 18:24:01 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Qt bindings for telepathy logger
|
|
|
|
Group: Development/Bindings
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
URL: http://www.kde.org
|
2024-01-05 18:24:01 +01:00
|
|
|
Source: http://download.kde.org/stable/telepathy-logger-qt/%{majver}/src/telepathy-logger-qt-%{version}.tar.xz
|
2024-01-05 18:24:01 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libqt-gstreamer-devel
|
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: telepathy-glib-devel
|
|
|
|
BuildRequires: telepathy-logger-devel
|
|
|
|
BuildRequires: telepathy-qt-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: automoc4
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qt bindings for telepathy logger.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-05 18:24:01 +01:00
|
|
|
%package -n libtelepathy-logger-qt5
|
|
|
|
Summary: Qt5 bindings for telepathy logger
|
|
|
|
|
|
|
|
%description -n libtelepathy-logger-qt5
|
|
|
|
Qt5 bindings for telepathy logger.
|
|
|
|
|
|
|
|
%package -n libtelepathy-logger-qt5-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: libtelepathy-logger-qt5 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n libtelepathy-logger-qt5-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
2024-01-05 18:24:01 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 18:24:01 +01:00
|
|
|
%cmake_kde5 -d build-qt5 \
|
|
|
|
-DDESIRED_QT_VERSION=5 \
|
|
|
|
-DDISABLE_WERROR=1 \
|
|
|
|
%ifarch x86_64
|
|
|
|
-DLIB_SUFFIX=64
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
2024-01-05 18:24:01 +01:00
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
2024-01-05 18:24:01 +01:00
|
|
|
%makeinstall -C build-qt5
|
2024-01-05 18:24:01 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:24:01 +01:00
|
|
|
%{_libdir}/libtelepathy-logger-qt.so.*
|
2024-01-05 18:24:01 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:24:01 +01:00
|
|
|
%{_includedir}/TelepathyLoggerQt
|
|
|
|
%{_libdir}/libtelepathy-logger-qt.so
|
|
|
|
%dir %{_libdir}/cmake/TelepathyLoggerQt
|
|
|
|
%dir %{_libdir}/cmake/TelepathyLoggerQt
|
|
|
|
%{_libdir}/cmake/TelepathyLoggerQt/TelepathyLoggerQt*.cmake
|
2024-01-05 18:24:01 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:24:01 +01:00
|
|
|
* Sat Aug 26 2017 Automatic Build System <autodist@mambasoft.it> 17.08.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 15.04.0-1mamba
|
|
|
|
- update to 15.04.0
|
|
|
|
|
2024-01-05 18:24:01 +01:00
|
|
|
* Tue Oct 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
|
|
|
|
- update to 0.8.0
|
|
|
|
|
|
|
|
* Sun Oct 07 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-1mamba
|
|
|
|
- update to 0.5.1
|
|
|
|
|
|
|
|
* Wed Aug 29 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.5.0-1mamba
|
|
|
|
- package created by autospec
|