public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Simacek <msimacek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: Add conditional for desktop file
Date: Wed, 15 Jul 2026 09:36:34 GMT [thread overview]
Message-ID: <178410819400.1.11704293779829376980.rpms-bsh-eb48fa26714d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bsh
Branch : epel10
Commit : eb48fa26714d4d888d9170e6a32805e44869fe55
Author : Michael Simacek <msimacek@redhat.com>
Date : 2017-06-13T11:25:43+02:00
Stats : +9/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bsh/c/eb48fa26714d4d888d9170e6a32805e44869fe55?branch=epel10
Log:
Add conditional for desktop file
---
diff --git a/bsh.spec b/bsh.spec
index be29400..cf24e61 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -29,10 +29,11 @@
#
%global reltag b6
+%bcond_without desktop
Name: bsh
Version: 2.0
-Release: 5.%{reltag}%{?dist}
+Release: 6.%{reltag}%{?dist}
Epoch: 0
Summary: Lightweight Scripting for Java
URL: http://www.beanshell.org/
@@ -122,12 +123,14 @@ ant test dist
%mvn_install -J javadoc
+%if %{with desktop}
# menu entry
desktop-file-install --mode=644 \
--dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
install -d -m 755 %{buildroot}%{_datadir}/pixmaps
convert src/bsh/util/lib/icon.gif \
%{buildroot}%{_datadir}/pixmaps/bsh.png
+%endif
install -d -m 755 %{buildroot}%{_datadir}/%{name}
install -d -m 755 %{buildroot}%{_datadir}/%{name}/webapps
@@ -147,8 +150,10 @@ cat scripts/bshdoc.bsh >> %{buildroot}%{_bindir}/bshdoc
%license LICENSE NOTICE
%doc README.md src/Changes.html src/CodeMap.html docs/faq/faq.html
%attr(0755,root,root) %{_bindir}/%{name}*
+%if %{with desktop}
%{_datadir}/applications/%{name}-desktop.desktop
%{_datadir}/pixmaps/%{name}.png
+%endif
%{_datadir}/%{name}
%files manual
@@ -161,6 +166,9 @@ cat scripts/bshdoc.bsh >> %{buildroot}%{_bindir}/bshdoc
%license LICENSE NOTICE
%changelog
+* Tue Jun 13 2017 Michael Simacek <msimacek@redhat.com> - 0:2.0-6.b6
+- Add conditional for desktop file
+
* Fri Mar 3 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.0-5.b6
- Install desktop icon to pixmaps instead of icons
reply other threads:[~2026-07-15 9:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178410819400.1.11704293779829376980.rpms-bsh-eb48fa26714d@fedoraproject.org \
--to=msimacek@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox