65 lines
1.6 KiB
RPMSpec
65 lines
1.6 KiB
RPMSpec
|
Name: qtxdg-tools
|
||
|
Version: 3.9.1
|
||
|
Release: 1mamba
|
||
|
Summary: User tools for libqtxdg
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/lxqt/qtxdg-tools
|
||
|
Source: https://github.com/lxqt/qtxdg-tools.git/%{version}/qtxdg-tools-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libQt5Svg-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libqtxdg-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: qt5-qtbase-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
|
||
|
%description
|
||
|
qtxdg-tools contains a CLI MIME tool, qtxdg-mat, for handling file associations and opening files with their default applications.
|
||
|
|
||
|
%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}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/qtxdg-mat
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_datadir}/cmake/qtxdg-tools
|
||
|
%{_datadir}/cmake/qtxdg-tools/qtxdg-tools-*.cmake
|
||
|
%doc README.md
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.1-1mamba
|
||
|
- package created using the webbuild interface
|