diff options
author | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-04-18 16:40:46 +0200 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-10-04 18:17:51 +0200 |
commit | 53d28f6b20e9385fbad844b5f76ea74860a566a3 (patch) | |
tree | d9a84436ee76046e8d367b27c1d2b07076d80bc9 | |
parent | 690efe9fd521a8fb1516dcc58cac8f92730c278e (diff) | |
download | qttools-53d28f6b20e9385fbad844b5f76ea74860a566a3.tar.gz qttools-53d28f6b20e9385fbad844b5f76ea74860a566a3.tar.bz2 qttools-53d28f6b20e9385fbad844b5f76ea74860a566a3.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,-) |