diff options
author | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-04-18 16:40:46 +0200 |
---|---|---|
committer | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-04-18 16:40:46 +0200 |
commit | 71db0d324ef588def1077db6401daf5eec830a5c (patch) | |
tree | 91666a718abbfc630e5ee66c87e49e8ac994c4fa | |
parent | 673cca0b5a082625b480fb878c5e7a8312fb4542 (diff) | |
download | qttools-sandbox/pcoval/tizen.tar.gz qttools-sandbox/pcoval/tizen.tar.bz2 qttools-sandbox/pcoval/tizen.zip |
packaging: add launcher for designer applicationsandbox/pcoval/tizen
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,-) |