xfce4-calculator-plugin/xfce4-calculator-plugin.spec

63 lines
1.6 KiB
RPMSpec
Raw Normal View History

2020-07-14 16:59:32 +08:00
%global _hardened_build 1
2021-06-25 14:48:37 +08:00
%global minorversion 0.7
2020-07-14 16:59:32 +08:00
Name: xfce4-calculator-plugin
2021-06-25 14:48:37 +08:00
Version: 0.7.1
2020-11-26 12:44:13 +08:00
Release: 2
2020-07-14 16:59:32 +08:00
Summary: A calculator plugin for the Xfce4 panel
License: GPLv2+
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
2021-06-25 14:48:37 +08:00
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
2020-07-14 16:59:32 +08:00
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
2021-06-25 14:48:37 +08:00
2020-07-14 16:59:32 +08:00
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
2021-06-25 14:48:37 +08:00
%doc TODO ChangeLog AUTHORS
2020-07-14 16:59:32 +08:00
%{_libdir}/xfce4/panel/plugins/libcalculator.so
2021-06-25 14:48:37 +08:00
%{_libdir}/xfce4/panel/plugins/libcalculator.la
2020-07-14 16:59:32 +08:00
%{_datadir}/xfce4/panel/plugins/calculator.desktop
2021-06-25 14:48:37 +08:00
%{_datadir}/icons/hicolor/*/*/*calculator*
2020-07-14 16:59:32 +08:00
%changelog
2021-06-25 14:48:37 +08:00
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.7.1-1
- Update to 0.7.1
2020-11-26 12:44:13 +08:00
* Thu Nov 26 2020 Wenlong Ding <wenlong.ding@turbolinux.com.cn> -0.7.0-2
2021-06-25 14:48:37 +08:00
2020-07-14 16:59:32 +08:00
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.7.0-1
- Init package