Compare commits

..

6 commits

Author SHA1 Message Date
Fedora Release Engineering
4a525d3caf Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:02:43 +00:00
efe557cc0a simplify .gitignore file
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
2026-06-30 20:30:53 -03:00
5aa309cf46 opt-in to packit for rawhide
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
2026-06-30 20:30:28 -03:00
Steve Traylen
7c0737747e RPM_BUILD_ROOT -> buildroot 2026-05-14 20:54:53 +02:00
Filipe Rosset
4292afc007 - spec cleanup and modernization
- use https for spec urls
- sort BR in alphabetical order
- silent rpmlint
2026-05-05 09:31:46 -03:00
Steve Traylen
923a1344c0 Release xcalc-1.1.3
- Resolves: rhbz#2437586
2026-02-08 15:31:13 +01:00
3 changed files with 39 additions and 22 deletions

8
.gitignore vendored
View file

@ -1,7 +1 @@
xcalc-1.0.3.tar.bz2
/xcalc-1.0.5.tar.bz2
/xcalc-1.0.6.tar.bz2
/xcalc-1.1.0.tar.bz2
/xcalc-1.1.1.tar.xz
/xcalc-1.1.2.tar.xz
/xcalc-1.1.3.tar.xz
/xcalc-*.tar.*

19
.packit.yaml Normal file
View file

@ -0,0 +1,19 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: xcalc.spec
copy_upstream_release_description: false
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
allowed_committers: ['packit','all_admins']
dist_git_branches:
- fedora-rawhide

View file

@ -4,44 +4,48 @@ Release: %autorelease
Summary: Scientific Calculator X11 Client
License: MIT
URL: http://xorg.freedesktop.org
Source0: http://xorg.freedesktop.org/releases/individual/app/xcalc-%{version}.tar.xz
URL: https://xorg.freedesktop.org
Source0: https://xorg.freedesktop.org/releases/individual/app/xcalc-%{version}.tar.xz
Source1: xcalc.desktop
BuildRequires: gcc make
BuildRequires: xorg-x11-proto-devel
BuildRequires: libXaw-devel
BuildRequires: desktop-file-utils
BuildRequires: xorg-x11-util-macros
BuildRequires: gcc
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
BuildRequires: libXaw-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: make
BuildRequires: xorg-x11-proto-devel
BuildRequires: xorg-x11-util-macros
Requires: xorg-x11-xbitmaps
Requires: xorg-x11-fonts-75dpi
Requires: xorg-x11-fonts-100dpi
Requires: xorg-x11-fonts-75dpi
Requires: xorg-x11-fonts-misc
Requires: xorg-x11-xbitmaps
%description
xcalc is a scientific calculator X11 client.
%prep
%setup -q
%autosetup
cp -p %{SOURCE1} .
%build
%configure
make V=1 %{?_smp_mflags}
%make_build
%install
%make_install
install -d ${RPM_BUILD_ROOT}%{_datadir}/applications
install -p -m 644 xcalc.desktop ${RPM_BUILD_ROOT}%{_datadir}/applications
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/xcalc.desktop
install -d %{buildroot}%{_datadir}/applications
install -p -m 644 xcalc.desktop %{buildroot}%{_datadir}/applications
desktop-file-validate %{buildroot}%{_datadir}/applications/xcalc.desktop
%check
%make_build check
%files
%{_bindir}/xcalc