diff --git a/.gitignore b/.gitignore index a8f7037..5cd4b12 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ /xfpanel-switch-1.0.3.tar.bz2 /xfpanel-switch-1.0.4.tar.bz2 -/xfpanel-switch-1.0.6.tar.bz2 -/xfpanel-switch-1.0.7.tar.bz2 diff --git a/it.po b/it.po new file mode 100644 index 0000000..01d960a --- /dev/null +++ b/it.po @@ -0,0 +1,123 @@ +# Spanish translation for xfpanel-switch +# Copyright (c) 2015 Rosetta Contributors and Canonical Ltd 2015 +# This file is distributed under the same license as the xfpanel-switch package. +# FIRST AUTHOR , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: xfpanel-switch\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2015-10-06 21:08-0400\n" +"PO-Revision-Date: 2015-10-07 16:20+0000\n" +"Last-Translator: gil \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2015-10-08 05:58+0000\n" +"X-Generator: Launchpad (build 17802)\n" + +#: ../xfpanel-switch.desktop.in.h:1 ../xfpanel-switch/xfpanel-switch.py:51 +msgid "Xfce Panel Switch" +msgstr "Xfce Panel Switch" + +#: ../xfpanel-switch.desktop.in.h:2 +msgid "Backup and restore your panel configuration" +msgstr "Backup e ripristino della configurazione del pannello" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:1 +msgid "" +"Xfce Panel Switch\n" +"Backup and restore your panel configuration" +msgstr "" +"Xfce Panel Switch\n" +"Backup e ripristino della configurazione del pannello" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:3 +msgid "Filename" +msgstr "Nome del File" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:4 +msgid "Date Modified" +msgstr "Data Modifica" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:5 +msgid "Apply Configuration" +msgstr "Applica Configurazione" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:6 +#: ../xfpanel-switch/xfpanel-switch.py:293 +msgid "Save Configuration" +msgstr "Salva Configurazione" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:7 +msgid "Remove Configuration" +msgstr "Rimuovere Configurazione" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:8 +msgid "Export" +msgstr "Esportare" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:9 +msgid "Import" +msgstr "Importare" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:10 +msgid "Save panel configuration as..." +msgstr "Salva la configurazione del pannello come..." + +#: ../xfpanel-switch/xfpanel-switch.glade.h:11 +#: ../xfpanel-switch/xfpanel-switch.py:85 +#: ../xfpanel-switch/xfpanel-switch.py:292 +msgid "Cancel" +msgstr "Annulla" + +#: ../xfpanel-switch/xfpanel-switch.glade.h:12 +msgid "Name the new panel configuration" +msgstr "Assegnare un nome alla nuova configurazione del pannello" + +#: ../xfpanel-switch/xfpanel-switch.py:80 +msgid "Save" +msgstr "Salvare" + +#: ../xfpanel-switch/xfpanel-switch.py:82 +msgid "Open" +msgstr "Aperto" + +#: ../xfpanel-switch/xfpanel-switch.py:140 +msgid "Current Configuration" +msgstr "Configurazione Corrente" + +#: ../xfpanel-switch/xfpanel-switch.py:160 +msgid "Today" +msgstr "Oggi" + +#: ../xfpanel-switch/xfpanel-switch.py:162 +msgid "Yesterday" +msgstr "Ieri" + +#: ../xfpanel-switch/xfpanel-switch.py:187 +#, python-format +msgid "%s (Copy of %s)" +msgstr "%s (Copia di %s)" + +#: ../xfpanel-switch/xfpanel-switch.py:211 +msgid "Export configuration as..." +msgstr "Esporta configurazione come..." + +#: ../xfpanel-switch/xfpanel-switch.py:212 +msgid "Untitled" +msgstr "Senza titolo" + +#: ../xfpanel-switch/xfpanel-switch.py:224 +msgid "Import configuration file..." +msgstr "Importa file di configurazione..." + +#: ../xfpanel-switch/xfpanel-switch.py:285 +msgid "Name the new panel configuration" +msgstr "Importa file di configurazione" + +#: ../xfpanel-switch/xfpanel-switch.py:309 +#, python-format +msgid "Backup_%s" +msgstr "Backup_%s" diff --git a/sources b/sources index 61b37e6..7a38650 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xfpanel-switch-1.0.7.tar.bz2) = 925afeecc1966ae4b8ab0ca08109b9a403ec1d01cf3fd14108f2a61149ceb3851a13eef273b1f9ec08d7f19037d96d1762136449a734153345e4a500f6f8b238 +007eeb979dccaf80769d1a756fac562c xfpanel-switch-1.0.4.tar.bz2 diff --git a/xfpanel-switch.appdata.xml b/xfpanel-switch.appdata.xml new file mode 100644 index 0000000..0126e62 --- /dev/null +++ b/xfpanel-switch.appdata.xml @@ -0,0 +1,29 @@ + + + xfpanel-switch.desktop + CC-BY-3.0 + GPL-3.0 + Xfpanel Switch + Application to manage different panel layouts in Xfce + + +

Multitude of panel layouts can be created using Xfce panel. This tool enables managing different layouts with little effort. Xfpanel-switch makes it possible to backup, restore, import and export panel layouts.

+
+ + + + https://nonamedotc.fedorapeople.org/xfpanel-switch.png + + + + https://launchpad.net/xfpanel-switch + https://bugs.launchpad.net/xfpanel-switch + + bluesabre@ubuntu.com + + XFCE + + + xfpanel-switch + +
diff --git a/xfpanel-switch.spec b/xfpanel-switch.spec index 7de06a1..88a8aaa 100644 --- a/xfpanel-switch.spec +++ b/xfpanel-switch.spec @@ -1,21 +1,25 @@ %global majorver 1.0 -%global appdata_name org.xubuntu.XfpanelSwitch Name: xfpanel-switch -Version: 1.0.7 -Release: 20%{?dist} +Version: 1.0.4 +Release: 4%{?dist} Summary: A simple application to manage Xfce panel layouts -# Automatically converted from old format: GPLv3 - review is highly recommended. -License: GPL-3.0-only +License: GPLv3 URL: https://launchpad.net/%{name} Source0: https://launchpad.net/%{name}/%{majorver}/%{version}/+download/%{name}-%{version}.tar.bz2 +# Add appdata file +Source1: %{name}.appdata.xml +Source2: it.po %if 0%{?fedora} BuildRequires: python3-devel %endif -BuildRequires: make +%if 0%{?rhel} >= 7 +BuildRequires: python34-devel +%endif + BuildRequires: gettext BuildRequires: intltool BuildRequires: libappstream-glib @@ -32,107 +36,40 @@ panel layouts. %prep %setup -q +cp -p %{SOURCE2} po/ + +# remove "xubuntu" layouts +rm -fr data/layouts/xubuntu* +sed -i '/cd data\/layouts\/xubuntu-*/d' Makefile.in.in +sed -i '/INSTALL $(DESTDIR)\/$(PREFIX)\/share\/doc/d' Makefile.in.in +sed -i '/COPYING $(DESTDIR)\/$(PREFIX)\/share\/doc/d' Makefile.in.in %build -#cannot use configure macro here ./configure --prefix=/usr -%make_build +make %{?_smp_mflags} %install %make_install -rm -f %{buildroot}%{_docdir}/%{name}/COPYING +%{__install} -Dp -m644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml +%{__install} -Dp -m644 COPYING %{buildroot}%{_datadir}/licenses/%{name}/COPYING %find_lang %{name} %check desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop -appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{appdata_name}.appdata.xml +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml + %files -f %{name}.lang %license COPYING -%doc NEWS AUTHORS README INSTALL +%doc NEWS AUTHORS README %{_datadir}/%{name}/* %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop -%{_datadir}/metainfo/*.appdata.xml +%{_datadir}/appdata/%{name}.appdata.xml %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 1.0.7-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Sat Jan 17 2026 Fedora Release Engineering - 1.0.7-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 1.0.7-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 1.0.7-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Mon Jul 29 2024 Miroslav Suchý - 1.0.7-16 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 1.0.7-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.0.7-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 1.0.7-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 1.0.7-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 1.0.7-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 1.0.7-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.0.7-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jan 28 2021 Fedora Release Engineering - 1.0.7-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.0.7-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 1.0.7-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 1.0.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 1.0.7-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.0.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 1.0.7-2 -- Rebuilt for Python 3.7 - -* Tue Apr 17 2018 Mukundan Ragavan - 1.0.7-1 -- Update to 1.0.7 - -* Wed Mar 28 2018 Mukundan Ragavan - 1.0.6-3 -- Truly fix files and appdata issues - -* Wed Mar 28 2018 Mukundan Ragavan - 1.0.6-2 -- Fix build problems - -* Wed Mar 28 2018 Mukundan Ragavan - 1.0.6-1 -- Update to 1.0.6 -- Change appdata filename -- Drop upstreamed patches -- Stop removing xubuntu layout - -* Fri Feb 09 2018 Fedora Release Engineering - 1.0.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - * Thu Jul 27 2017 Fedora Release Engineering - 1.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild