124 lines
3.1 KiB
RPMSpec
124 lines
3.1 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: telepathy-logger-qt
|
|
Version: 17.09.0
|
|
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
|
|
Source: http://download.kde.org/stable/telepathy-logger-qt/%{majver}/src/telepathy-logger-qt-%{version}.tar.xz
|
|
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}.
|
|
|
|
%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}.
|
|
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kde5 -d build-qt5 \
|
|
-DDESIRED_QT_VERSION=5 \
|
|
-DDISABLE_WERROR=1 \
|
|
%ifarch x86_64
|
|
-DLIB_SUFFIX=64
|
|
%endif
|
|
|
|
%make
|
|
|
|
cd ..
|
|
|
|
%cmake -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
%makeinstall -C build-qt5
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
exit 0
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
exit 0
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libtelepathy-logger-qt.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/TelepathyLoggerQt
|
|
%{_libdir}/libtelepathy-logger-qt.so
|
|
%dir %{_libdir}/cmake/TelepathyLoggerQt
|
|
%dir %{_libdir}/cmake/TelepathyLoggerQt
|
|
%{_libdir}/cmake/TelepathyLoggerQt/TelepathyLoggerQt*.cmake
|
|
|
|
%changelog
|
|
* Sat Mar 14 2020 Automatic Build System <autodist@mambasoft.it> 17.09.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* 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
|