From c1a2d1d3698dcb281a9c608e06851a0c66462e17 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Aug 01 2023 15:15:01 +0000 Subject: Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- diff --git a/.gitignore b/.gitignore index 14d2504..04d1ee3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ parcellite-0.9.2.tar.gz /parcellite-1.1.7.tar.gz /parcellite-1.2.1.tar.gz /parcellite-1.2.2.tar.gz +/parcellite-1.2.5.tar.gz diff --git a/parcellite-startup.desktop b/parcellite-startup.desktop new file mode 100644 index 0000000..af22192 --- /dev/null +++ b/parcellite-startup.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Parcellite +Comment=Clipboard Manager +Icon=parcellite +Exec=parcellite +Terminal=false +Type=Application +X-GNOME-Autostart-enabled=true diff --git a/parcellite.spec b/parcellite.spec index cb147b0..cf7fb81 100644 --- a/parcellite.spec +++ b/parcellite.spec @@ -1,20 +1,25 @@ # Review: https://bugzilla.redhat.com/show_bug.cgi?id=442473 Name: parcellite -Version: 1.2.2 -Release: 2%{?dist} +Version: 1.2.5 +Release: 1%{?dist} Summary: A lightweight GTK+ clipboard manager License: GPLv3+ -URL: http://parcellite.sourceforge.net/ -Source0: https://github.com/rickyrockrat/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: http://%{name}.sf.net/ +Source0: https://github.com/ZaWertun/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# migrate autostart from previous upstream rickyrockrat +Source1: %{name}-startup.desktop -BuildRequires: make -BuildRequires: gcc +BuildRequires: cmake >= 3.1 +BuildRequires: gcc-g++ BuildRequires: gtk2-devel >= 2.10.0 BuildRequires: desktop-file-utils BuildRequires: intltool >= 0.23 +Requires: xdotool +Requires: hicolor-icons-theme + %description Parcellite is a stripped down, basic-features-only clipboard manager with a small memory footprint for those who like simplicity. @@ -23,51 +28,44 @@ In GNOME and Xfce the clipboard manager will be started automatically. For other desktops or window managers you should also install a panel with a system tray or notification area if you want to use this package. + %prep -%setup -q -sh -v autogen.sh -# remove useless files -rm -rfv autom4te.cache */*~ || : +%autosetup -n%{name}-%{version} %build -%configure -CFLAGS="$RPM_OPT_FLAGS" %make_build -f Makefile.simple - +%cmake +%make_build -C %{_vpath_builddir} %install -%make_install +%make_install -C %{_vpath_builddir} %find_lang %{name} - -desktop-file-install \ - %if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7) - --vendor fedora \ - %endif - --delete-original \ +desktop-file-edit \ --remove-category=Application \ --remove-only-show-in=Old \ - --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop - desktop-file-install \ - --delete-original \ --add-category=TrayIcon \ --add-only-show-in="GNOME;KDE;LXDE;MATE;Razor;ROX;TDE;Unity;XFCE;" \ --dir=%{buildroot}%{_sysconfdir}/xdg/autostart \ - %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop - - + %{SOURCE1} %files -f %{name}.lang -%doc AUTHORS ChangeLog README NEWS +%doc AUTHORS ChangeLog README.md %license COPYING %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop %{_bindir}/%{name} -%{_datadir}/applications/*%{name}.desktop -%{_datadir}/pixmaps/%{name}.* -%{_mandir}/man1/%{name}.1.* - +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_mandir}/man1/%{name}.1* %changelog +* Tue Aug 01 2023 Raphael Groner - 1.2.5-1 +- new version, switch upstream + +* Thu Jul 20 2023 Fedora Release Engineering - 1.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Apr 11 2023 Raphael Groner - 1.2.2-2 - enable debuginfo diff --git a/sources b/sources index f89ff00..2821f14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parcellite-1.2.2.tar.gz) = 7f507773ea6c754440b3d68c2435980600ba2a5b4d13d26091a287881227ef1deee56b89d49c7ebe531e0df97dcad9d9157af7e3ce89597e4e1ab7b7cfc0ae8a +SHA512 (parcellite-1.2.5.tar.gz) = 182c5f7f4cc2cb1cb6b6b35184f7e3b3f5c636a20c9d93ae68333919b2317fb0673d770f3c86154d523c26699898def37da850c715c9471dc92c5fbc578b1c75