Accepting request 390662 from devel:tools:scm

1

OBS-URL: https://build.opensuse.org/request/show/390662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=179
This commit is contained in:
Dominique Leuenberger 2016-04-28 14:50:18 +00:00 committed by Git OBS Bridge
parent 09ca0f2300
commit c0ffa391a0
4 changed files with 30 additions and 0 deletions

11
git-gui.desktop Normal file
View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Git Gui
GenericName=Version Control GUI
Comment=Git GUI
Exec=git gui
Icon=git-gui
StartupNotify=false
Terminal=false
Type=Application
Categories=Development;RevisionControl;
X-KDE-SubstituteUID=false

BIN
git-gui.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 18 18:58:06 UTC 2016 - termim@gmail.com
- add desktop entry for the git gui
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 3 19:51:56 UTC 2016 - astieger@suse.com Sun Apr 3 19:51:56 UTC 2016 - astieger@suse.com

View File

@ -42,6 +42,8 @@ Source4: git.xinetd
Source5: usr.share.git-web.gitweb.cgi Source5: usr.share.git-web.gitweb.cgi
Source6: susefirewall-git-daemon Source6: susefirewall-git-daemon
Source8: %name.keyring Source8: %name.keyring
Source9: %{name}-gui.desktop
Source10: %{name}-gui.png
Patch3: completion-wordbreaks.diff Patch3: completion-wordbreaks.diff
# CVE-2011-2186, bnc#698456 # CVE-2011-2186, bnc#698456
Patch4: git-prevent_xss-default.diff Patch4: git-prevent_xss-default.diff
@ -68,6 +70,7 @@ BuildRequires: perl-Error
BuildRequires: python BuildRequires: python
BuildRequires: sgml-skel BuildRequires: sgml-skel
BuildRequires: tcsh BuildRequires: tcsh
BuildRequires: update-desktop-files
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: xz BuildRequires: xz
Requires: git-core = %{version} Requires: git-core = %{version}
@ -338,6 +341,12 @@ mkdir -p "%buildroot/%_docdir/git"
cp -a README.md COPYING Documentation/*.txt "%buildroot/%_docdir/git/" cp -a README.md COPYING Documentation/*.txt "%buildroot/%_docdir/git/"
%{!?_without_docs: cp -a Documentation/*.html "%buildroot/%_docdir/git/"} %{!?_without_docs: cp -a Documentation/*.html "%buildroot/%_docdir/git/"}
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/applications
install -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_datadir}/applications
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%suse_update_desktop_file $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-gui.desktop
%find_lang %{name} %find_lang %{name}
cat %{name}.lang >>bin-man-doc-files cat %{name}.lang >>bin-man-doc-files
# use symlinks instead of hardlinks in sub-commands # use symlinks instead of hardlinks in sub-commands
@ -434,6 +443,8 @@ fi
/usr/share/git-gui /usr/share/git-gui
%{!?_without_docs: %{_mandir}/man1/*gui*.1*} %{!?_without_docs: %{_mandir}/man1/*gui*.1*}
%{!?_without_docs: %doc Documentation/*gui*.html } %{!?_without_docs: %doc Documentation/*gui*.html }
%{_datadir}/applications/%{name}-gui.desktop
%{_datadir}/pixmaps/%{name}-gui.png
%files web %files web
%defattr(-,root,root) %defattr(-,root,root)