Compare commits
10 Commits
2734cc1a4b
...
f17875e2f4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f17875e2f4 | ||
|
|
e15e8a7232 | ||
|
|
5f5fbd58eb | ||
|
|
4bcaf07e72 | ||
|
|
09ffb440ac | ||
|
|
fc0aebe929 | ||
|
|
6e3ff5c04e | ||
|
|
a7f41db59e | ||
|
|
e7d9552b8e | ||
|
|
f66da55111 |
BIN
xfce4-calculator-plugin-0.7.1.tar.bz2
Normal file
BIN
xfce4-calculator-plugin-0.7.1.tar.bz2
Normal file
Binary file not shown.
62
xfce4-calculator-plugin.spec
Normal file
62
xfce4-calculator-plugin.spec
Normal 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
|
||||
4
xfce4-calculator-plugin.yaml
Normal file
4
xfce4-calculator-plugin.yaml
Normal 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: "."
|
||||
Loading…
x
Reference in New Issue
Block a user