diff --git a/README.md b/README.md index 2ca86e0..9ba92cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qtxdg-tools +qtxdg-tools contains a CLI MIME tool, qtxdg-mat, for handling file associations and opening files with their default applications. + diff --git a/qtxdg-tools.spec b/qtxdg-tools.spec new file mode 100644 index 0000000..34c0841 --- /dev/null +++ b/qtxdg-tools.spec @@ -0,0 +1,64 @@ +Name: qtxdg-tools +Version: 3.9.1 +Release: 1mamba +Summary: User tools for libqtxdg +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 3.9.1-1mamba +- package created using the webbuild interface