[packages/qt5ct] new

atler atler at pld-linux.org
Sat Feb 13 14:55:15 CET 2021


commit adeff2bc6421d0f0e646e9b055fd3f33f533aaae
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Feb 13 14:54:48 2021 +0100

    new

 qt5ct.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
---
diff --git a/qt5ct.spec b/qt5ct.spec
new file mode 100644
index 0000000..ffcb26d
--- /dev/null
+++ b/qt5ct.spec
@@ -0,0 +1,66 @@
+%define		qtver	5.8
+Summary:	Qt5 Configuration Tool
+Name:		qt5ct
+Version:	1.1
+Release:	1
+License:	BSD
+Group:		Applications
+Source0:	https://downloads.sourceforge.net/qt5ct/%{name}-%{version}.tar.bz2
+# Source0-md5:	07681cbcdbc3397278fd253a23198397
+URL:		https://sourceforge.net/projects/qt5ct/
+BuildRequires:	Qt5Concurrent-devel >= %{qtver}
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	Qt5DBus-devel >= %{qtver}
+BuildRequires:	Qt5Gui-devel >= %{qtver}
+BuildRequires:	Qt5ThemeSupport-devel >= %{qtver}
+BuildRequires:	Qt5Widgets-devel >= %{qtver}
+BuildRequires:	qt5-linguist >= %{qtver}
+BuildRequires:	qt5-qmake >= %{qtver}
+Requires:	Qt5Core >= %{qtver}
+Requires:	Qt5DBus >= %{qtver}
+Requires:	Qt5Gui >= %{qtver}
+Requires:	Qt5Widgets >= %{qtver}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+qt5ct allows users to configure Qt5 settings (theme, font, icons,
+etc.) under DE/WM without Qt integration.
+
+%prep
+%setup -q
+
+%build
+qmake-qt5
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/translations
+cp -p src/qt5ct/translations/*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}/translations
+
+%find_lang %{name} --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database
+
+%postun
+%update_desktop_database_postun
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/qt5ct
+%attr(755,root,root) %{_libdir}/qt5/plugins/platformthemes/libqt5ct.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/styles/libqt5ct-style.so
+%dir %{_datadir}/qt5ct
+%{_datadir}/qt5ct/colors
+%{_datadir}/qt5ct/qss
+%{_desktopdir}/qt5ct.desktop
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5ct.git/commitdiff/adeff2bc6421d0f0e646e9b055fd3f33f533aaae



More information about the pld-cvs-commit mailing list