Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f17875e2f4 !6 upgrade to 0.7.1 for xfce 4.16
From: @zhang__3125
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2021-06-25 06:56:10 +00:00
zhang__3125
e15e8a7232 upgrade to 0.7.1 for xfce 4.16 2021-06-25 14:48:37 +08:00
openeuler-ci-bot
5f5fbd58eb !5 20201127 add yaml file
From: @zhang__3125
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2020-11-27 11:37:16 +08:00
root
4bcaf07e72 20201127 add yaml file 2020-11-27 11:02:14 +08:00
openeuler-ci-bot
09ffb440ac !4 Delete unused spec file and change spec file
From: @dwl301
Reviewed-by: @zhang__3125
Signed-off-by: @zhang__3125
2020-11-26 17:55:32 +08:00
dwl301
fc0aebe929 update xfce4-calculator-plugin.spec. 2020-11-26 12:44:13 +08:00
dwl301
6e3ff5c04e Remove xfce4-clipman-plugin.spec 2020-11-26 12:25:39 +08:00
openeuler-ci-bot
a7f41db59e !1 Init package
Merge pull request !1 from 陈棋德/master
2020-07-31 20:06:39 +08:00
dillon chen
e7d9552b8e Init package 2020-07-14 16:59:32 +08:00
dillon chen
f66da55111 Init package 2020-07-14 16:03:50 +08:00
3 changed files with 66 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,62 @@
%global _hardened_build 1
%global minorversion 0.7
Name: xfce4-calculator-plugin
Version: 0.7.1
Release: 2
Summary: A calculator plugin for the Xfce4 panel
License: GPLv2+
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)
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
%find_lang %{name}
%files -f %{name}.lang
%license COPYING
%doc TODO ChangeLog AUTHORS
%{_libdir}/xfce4/panel/plugins/libcalculator.so
%{_libdir}/xfce4/panel/plugins/libcalculator.la
%{_datadir}/xfce4/panel/plugins/calculator.desktop
%{_datadir}/icons/hicolor/*/*/*calculator*
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.7.1-1
- Update to 0.7.1
* Thu Nov 26 2020 Wenlong Ding <wenlong.ding@turbolinux.com.cn> -0.7.0-2
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.7.0-1
- Init package

View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://gitlab.xfce.org/panel-plugins/xfce4-calculator-plugin.git
tag_prefix: "xfce4-calculator-plugin-"
seperator: "."