package created using the webbuild interface [release 5.39.0-1mamba;Mon Oct 23 2017]

This commit is contained in:
Silvan Calarco 2024-01-06 07:12:16 +01:00
parent 001b8985a3
commit 92d1a9c821
2 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# modemmanager-qt # modemmanager-qt
KDE Frameworks 5 wrapper for ModemManager DBUS API.

85
modemmanager-qt.spec Normal file
View File

@ -0,0 +1,85 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: modemmanager-qt
Version: 5.39.0
Release: 1mamba
Summary: KDE Frameworks 5 wrapper for ModemManager DBUS API
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/frameworks/%{majver}/modemmanager-qt-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 wrapper for ModemManager DBUS API.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files -n lib%{name}
%defattr(-,root,root)
%{_kde5_libdir}/libKF5ModemManagerQt.so.*
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/ModemManagerQt
%{_kde5_includedir}/ModemManagerQt/*
%{_kde5_includedir}/modemmanagerqt_version.h
%dir %{_kde5_libdir}/cmake/KF5ModemManagerQt
%{_kde5_libdir}/cmake/KF5ModemManagerQt/KF5ModemManagerQt*.cmake
%{_kde5_libdir}/libKF5ModemManagerQt.so
%{_libdir}/qt5/mkspecs/modules/qt_ModemManagerQt.pri
%changelog
* Mon Oct 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.39.0-1mamba
- package created using the webbuild interface