diff options
author | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-04-18 16:40:46 +0200 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2015-11-10 10:59:18 +0100 |
commit | ea422cecfab0ad7daad5f3dc6d2f40b40d35a5ce (patch) | |
tree | 15b48b9adb6513c3f6b17c82b75f8b9774ecbf52 | |
parent | b8bd48abfcd3b8cb6e59d7433c6c8cf4a42e3e34 (diff) | |
download | qttools-ea422cecfab0ad7daad5f3dc6d2f40b40d35a5ce.tar.gz qttools-ea422cecfab0ad7daad5f3dc6d2f40b40d35a5ce.tar.bz2 qttools-ea422cecfab0ad7daad5f3dc6d2f40b40d35a5ce.zip |
packaging: add launcher for designer application
Change-Id: Ia713907cff8e6fc3014588934e802530d18d3fb7
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r-- | packaging/qt-designer.desktop | 5 | ||||
-rw-r--r-- | packaging/qt5-qttools.spec | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/packaging/qt-designer.desktop b/packaging/qt-designer.desktop new file mode 100644 index 00000000..0fe60318 --- /dev/null +++ b/packaging/qt-designer.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=Qt Designer +Type=Application +Exec=/usr/bin/designer + diff --git a/packaging/qt5-qttools.spec b/packaging/qt5-qttools.spec index 9f7e231a..fb603c46 100644 --- a/packaging/qt5-qttools.spec +++ b/packaging/qt5-qttools.spec @@ -32,6 +32,7 @@ Group: Base/Libraries License: LGPL-2.1+ or GPL-3.0 URL: http://qt.digia.com Source: %{name}-%{version}.tar.bz2 +Source1001: qt-designer.desktop BuildRequires: qt5-qtgui-devel BuildRequires: qt5-qtnetwork-devel BuildRequires: qt5-qtcore-devel @@ -170,6 +171,7 @@ applications that use QtDesigner %prep %setup -q -n %{name}-%{version}/qttools +cp %{SOURCE1001} . %build export QTDIR=/usr/share/qt5 @@ -181,6 +183,9 @@ make %{?_smp_mflags} rm -rf %{buildroot} %qmake5_install +install -d "%{buildroot}%{_datadir}/applications/" +install qt-designer.desktop "%{buildroot}%{_datadir}/applications/" + %fdupes %{buildroot}%{_libdir} %fdupes %{buildroot}%{_includedir} %fdupes %{buildroot}%{_datadir} @@ -286,6 +291,7 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %{_qt5_bindir}/designer %{_libdir}/libQt5Designer*.so.* +%{_datadir}/applications/qt-designer.desktop %files qtdesigner-devel %defattr(-,root,root,-) |