Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60e35c3f38 |
3 changed files with 22 additions and 39 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -1 +1,7 @@
|
|||
/xcalc-*.tar.*
|
||||
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
|
||||
|
|
|
|||
19
.packit.yaml
19
.packit.yaml
|
|
@ -1,19 +0,0 @@
|
|||
# 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
|
||||
|
||||
40
xcalc.spec
40
xcalc.spec
|
|
@ -4,48 +4,44 @@ Release: %autorelease
|
|||
Summary: Scientific Calculator X11 Client
|
||||
|
||||
License: MIT
|
||||
URL: https://xorg.freedesktop.org
|
||||
Source0: https://xorg.freedesktop.org/releases/individual/app/xcalc-%{version}.tar.xz
|
||||
URL: http://xorg.freedesktop.org
|
||||
Source0: http://xorg.freedesktop.org/releases/individual/app/xcalc-%{version}.tar.xz
|
||||
Source1: xcalc.desktop
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXaw-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXmu-devel
|
||||
BuildRequires: libXpm-devel
|
||||
BuildRequires: libXt-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc make
|
||||
BuildRequires: xorg-x11-proto-devel
|
||||
BuildRequires: libXaw-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: xorg-x11-util-macros
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXmu-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXt-devel
|
||||
BuildRequires: libXpm-devel
|
||||
|
||||
Requires: xorg-x11-fonts-100dpi
|
||||
Requires: xorg-x11-fonts-75dpi
|
||||
Requires: xorg-x11-fonts-misc
|
||||
Requires: xorg-x11-xbitmaps
|
||||
Requires: xorg-x11-fonts-75dpi
|
||||
Requires: xorg-x11-fonts-100dpi
|
||||
Requires: xorg-x11-fonts-misc
|
||||
|
||||
|
||||
%description
|
||||
xcalc is a scientific calculator X11 client.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%setup -q
|
||||
cp -p %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
make V=1 %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
%files
|
||||
%{_bindir}/xcalc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue