73 lines
2.0 KiB
RPMSpec
73 lines
2.0 KiB
RPMSpec
|
Name: libdbusmenu-qt5
|
||
|
Version: 0.9.3+16.04.20160218
|
||
|
Release: 1mamba
|
||
|
Summary: A library that provides a Qt5 implementation of the DBusMenu spec
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://packages.debian.org/it/sid/libdbusmenu-qt5-dev
|
||
|
Source: http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu-qt/libdbusmenu-qt_%{version}.orig.tar.gz
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: ldconfig
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
A library that provides a Qt implementation of the DBusMenu spec.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n libdbusmenu-qt-0.9.3+16.04.20160218
|
||
|
|
||
|
%build
|
||
|
%cmake -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libdbusmenu-qt5.so.*
|
||
|
%doc COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/dbusmenu-qt5
|
||
|
%{_includedir}/dbusmenu-qt5/*.h
|
||
|
%dir %{_libdir}/cmake/dbusmenu-qt5
|
||
|
%{_libdir}/cmake/dbusmenu-qt5/dbusmenu-qt5-*.cmake
|
||
|
%{_libdir}/libdbusmenu-qt5.so
|
||
|
%{_libdir}/pkgconfig/dbusmenu-qt5.pc
|
||
|
%dir %{_datadir}/doc/libdbusmenu-qt5-doc
|
||
|
%{_datadir}/doc/libdbusmenu-qt5-doc/*
|
||
|
%doc NEWS README
|
||
|
|
||
|
%changelog
|
||
|
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3+16.04.20160218-1mamba
|
||
|
- package created using the webbuild interface
|