public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kalev Lember <klember@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: Use upstream appdata file
Date: Mon, 20 Jul 2026 20:37:39 GMT	[thread overview]
Message-ID: <178457985935.1.13120119243539439122.rpms-transmission-b2795b949cef@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/transmission
            Branch : epel10
            Commit : b2795b949cef4315f604c28eb692361963fb3109
            Author : Kalev Lember <klember@redhat.com>
            Date   : 2020-09-13T22:58:45+02:00
            Stats  : +5/-46 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/transmission/c/b2795b949cef4315f604c28eb692361963fb3109?branch=epel10

            Log:
            Use upstream appdata file

The appdata file is now installed from upstream tarball so we can now
drop the downstream version of it.

---
diff --git a/transmission.spec b/transmission.spec
index e0e8d17..befb4f0 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -2,7 +2,7 @@
 
 Name:           transmission
 Version:        3.00
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 # See COPYING. This licensing situation is... special.
 License:        MIT and GPLv2
@@ -129,50 +129,6 @@ desktop-file-install \
                 --dir=%{buildroot}%{_datadir}/applications/  \
                   qt/%{name}-qt.desktop
 
-# Register as an application to be visible in the software center
-#
-# NOTE: It would be *awesome* if this file was maintained by the upstream
-# project, translated and installed into the right place during `make install`.
-#
-# See http://www.freedesktop.org/software/appstream/docs/ for more details.
-#
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
-cat > $RPM_BUILD_ROOT%{_datadir}/appdata/transmission-gtk.appdata.xml <<EOF
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
-<!--
-BugReportURL: https://forum.transmissionbt.com/viewtopic.php?f=3&t=16443
-SentUpstream: 2014-09-18
--->
-<application>
-  <id type="desktop">transmission-gtk.desktop</id>
-  <metadata_license>CC0-1.0</metadata_license>
-  <description>
-    <p>
-      BitTorrent is a peer-to-peer file-sharing protocol that is commonly used to
-      distribute large amounts of data between multiple users.
-    </p>
-    <p>
-      Transmission is a BitTorrent client with an easy-to-use frontend on top a
-      cross-platform backend.
-      Native frontends are available for OS X and Windows, as well as command line and
-      web frontends.
-    </p>
-    <p>
-      Notable features of Transmission include Local Peer Discovery and Full Encryption,
-      Full encryption, DHTµTP, PEX and Magnet Link support.
-    </p>
-  </description>
-  <url type="homepage">http://www.transmissionbt.com/</url>
-  <screenshots>
-    <screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/transmission-gtk/a.png</screenshot>
-  </screenshots>
-  <!-- FIXME: change this to an upstream email address for spec updates
-  <updatecontact>someone_who_cares@upstream_project.org</updatecontact>
-   -->
-</application>
-EOF
-
 %post daemon
 %systemd_post transmission-daemon.service
 
@@ -213,7 +169,7 @@ EOF
 
 %files gtk -f %{name}-gtk.lang
 %{_bindir}/transmission-gtk
-%{_datadir}/appdata/%{name}-gtk.appdata.xml
+%{_datadir}/appdata/transmission-gtk.appdata.xml
 %{_datadir}/applications/transmission-gtk.desktop
 %doc %{_mandir}/man1/transmission-gtk.*
 
@@ -223,6 +179,9 @@ EOF
 %doc %{_mandir}/man1/transmission-qt.*
 
 %changelog
+* Sun Sep 13 2020 Kalev Lember <klember@redhat.com> - 3.00-3
+- Use upstream appdata file
+
 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.00-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
 

                 reply	other threads:[~2026-07-20 20:37 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=178457985935.1.13120119243539439122.rpms-transmission-b2795b949cef@fedoraproject.org \
    --to=klember@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