public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-user-share] wip/oholy/f45-update: improve capplet appearance
@ 2026-06-24 11:33 Matthias Clasen
0 siblings, 0 replies; only message in thread
From: Matthias Clasen @ 2026-06-24 11:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gnome-user-share
Branch : wip/oholy/f45-update
Commit : fc208fd991da4fc0555125df9012d9b634292897
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2007-01-24T15:06:14+00:00
Stats : +32/-7 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-user-share/c/fc208fd991da4fc0555125df9012d9b634292897?branch=wip/oholy/f45-update
Log:
improve capplet appearance
---
diff --git a/gnome-user-share-category.patch b/gnome-user-share-category.patch
new file mode 100644
index 0000000..ebf7ff3
--- /dev/null
+++ b/gnome-user-share-category.patch
@@ -0,0 +1,11 @@
+--- gnome-user-share-0.10/gnome-user-share-properties.desktop.in.category 2007-01-24 09:46:29.000000000 -0500
++++ gnome-user-share-0.10/gnome-user-share-properties.desktop.in 2007-01-24 09:46:45.000000000 -0500
+@@ -7,7 +7,7 @@
+ StartupNotify=true
+ Terminal=false
+ Type=Application
+-Categories=GNOME;Application;Settings;
++Categories=GNOME;Settings;X-GNOME-NetworkSettings;
+ OnlyShowIn=GNOME;
+ X-GNOME-Bugzilla-Bugzilla=GNOME
+ X-GNOME-Bugzilla-Product=gnome-user-share
diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index 66098b0..9743ee8 100644
--- a/gnome-user-share.spec
+++ b/gnome-user-share.spec
@@ -6,7 +6,9 @@ License: GPL
Group: System Environment/Libraries
URL: http://www.gnome.org
Source0: %{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+# fixed in upstream svn
+Patch0: gnome-user-share-category.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: httpd >= 2.2.0
BuildRequires: GConf2-devel avahi-glib-devel >= 0.6 pkgconfig
BuildRequires: gtk2-devel >= 2.4.0
@@ -16,13 +18,16 @@ BuildRequires: desktop-file-utils
BuildRequires: libselinux-devel
BuildRequires: gettext
BuildRequires: perl-XML-Parser
-Prereq: GConf2
+Requires(post): GConf2
+Requires(pre): GConf2
+Requires(preun): GConf2
%description
-gnome-user-share
+GNOME user file sharing.
%prep
%setup -q
+%patch0 -p1 -b .category
%build
%configure
@@ -48,10 +53,19 @@ rm -rf $RPM_BUILD_ROOT
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-SCHEMAS="desktop_gnome_file_sharing.schemas"
-for S in $SCHEMAS; do
- gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
-done
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
+
+%pre
+if [ "$1" -gt 1 ]; then
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
+fi
+
+%preun
+if [ "$1" -eq 0 ]; then
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
+fi
%files -f gnome-user-share.lang
%defattr(-,root,root,-)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 11:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 11:33 [rpms/gnome-user-share] wip/oholy/f45-update: improve capplet appearance Matthias Clasen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox