diff --git a/xfce4-calculator-plugin-0.7.0.tar.bz2 b/xfce4-calculator-plugin-0.7.0.tar.bz2 new file mode 100644 index 0000000..5db822d Binary files /dev/null and b/xfce4-calculator-plugin-0.7.0.tar.bz2 differ diff --git a/xfce4-calculator-plugin.spec b/xfce4-calculator-plugin.spec new file mode 100644 index 0000000..3b569dd --- /dev/null +++ b/xfce4-calculator-plugin.spec @@ -0,0 +1,61 @@ +%global _hardened_build 1 + +Name: xfce4-calculator-plugin +Version: 0.7.0 +Release: 1 +Summary: A calculator plugin for the Xfce4 panel +#Group: Development/Libraries +License: GPLv2+ +URL: http://goodies.xfce.org/projects/panel-plugins/%{name} +Source0: http://archive.xfce.org/src/panel-plugins/%{name}/0.7/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#BuildArch: noarch +BuildRequires: gcc-c++ +BuildRequires: automake +BuildRequires: libxfce4ui-devel +BuildRequires: xfce4-panel-devel +BuildRequires: gtk2-devel +BuildRequires: intltool +Requires: xfce4-panel + +%description +xfce4-calculator-plugin is a calculator plugin for the Xfce4 panel. + +Place the plugin in your panel, enter your calculation into the text field +and press Enter to calculate the result. + +The plugin supports common mathematical operators (+, -, *, /, ^) with usual +precedence rules and some basic functions (e.g., trigonometric functions) +and constants. + + +%prep +%autosetup +# remove empty file +rm -f NEWS + +%build +%configure +%make_build + +%install +%make_install + +# remove la file +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +# make sure debuginfo is generated properly +chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so + +%find_lang %{name} + +%files -f %{name}.lang +%license COPYING +%doc README TODO ChangeLog AUTHORS +%{_libdir}/xfce4/panel/plugins/libcalculator.so +%{_datadir}/xfce4/panel/plugins/calculator.desktop +%{_datadir}/icons/hicolor/*/*/* + +%changelog +* Tue Jul 14 2020 Dillon Chen - 0.7.0-1 +- Init package diff --git a/xfce4-clipman-plugin.spec b/xfce4-clipman-plugin.spec new file mode 100644 index 0000000..483ba00 --- /dev/null +++ b/xfce4-clipman-plugin.spec @@ -0,0 +1,78 @@ +%global xfceversion 4.14 +%global _hardened_build 1 + +Name: xfce4-clipman-plugin +Version: 1.6.1 +Release: 1%{?dist} +Summary: Clipboard manager plugin for the Xfce panel +License: GPLv2+ +#Group: Development/Libraries +URL: http://goodies.xfce.org/projects/panel-plugins/%{name} +Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#BuildArch: noarch +BuildRequires: gcc-c++ +BuildRequires: exo-devel >= 0.6.0 +BuildRequires: libxfce4ui-devel >= %{xfceversion} +BuildRequires: libXtst-devel >= 1.0.0 +BuildRequires: qrencode-devel +BuildRequires: xfce4-panel-devel >= %{xfceversion} +BuildRequires: xfconf-devel >= %{xfceversion} +BuildRequires: xorg-x11-proto-devel >= 7.0.0 +BuildRequires: unique-devel >= 1.0.0 +BuildRequires: gettext +BuildRequires: intltool +BuildRequires: desktop-file-utils +Requires: xfce4-panel >= %{xfceversion} + +%description +Clipboard Manager for the Xfce Panel and as a standalone application (it is a +bundle). It keeps the clipboard contents around (even after an application +quits), it is able to handle text and images, and has a feature to execute +actions on specific text selection by matching them against regexes. + +%prep +%autosetup + +%build +%configure --disable-static --enable-unique --enable-libqrencode +%make_build + + +%install +%make_install +find %{buildroot} -name '*.la' -exec rm -f {} ';' +%find_lang %{name} + +desktop-file-install \ + --dir %{buildroot}%{_datadir}/applications \ + --delete-original \ + %{buildroot}%{_datadir}/applications/xfce4-clipman.desktop + +desktop-file-install \ + --dir %{buildroot}%{_sysconfdir}/xdg/autostart \ + --delete-original \ + %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop + + +%files -f %{name}.lang +%doc AUTHORS ChangeLog NEWS README +%license COPYING +%config %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop +%config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml +%{_bindir}/xfce4-clipman +%{_bindir}/xfce4-clipman-history +%{_bindir}/xfce4-clipman-settings +%{_bindir}/xfce4-popup-clipman +%{_bindir}/xfce4-popup-clipman-actions +%{_libdir}/xfce4/panel/plugins/libclipman* +%{_datadir}/applications/xfce4-clipman-settings.desktop +%{_datadir}/applications/xfce4-clipman.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.* +%{_datadir}/xfce4/panel/plugins/%{name}.desktop +%{_datadir}/appdata/xfce4-clipman.appdata.xml +%{_datadir}/icons/hicolor/16x16/apps/clipman-symbolic.svg + +%changelog +* Tue Jul 14 2020 Dillon Chen - 1.6.1-1 +- Init package