Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17b9de70d5 | ||
|
|
d0bb268898 | ||
|
|
32f655413a | ||
|
|
a94cefc950 | ||
|
|
00564916c3 | ||
|
|
462a41bd2f | ||
|
|
f10646abd9 |
4 changed files with 25 additions and 24 deletions
15
.packit.yaml
Normal file
15
.packit.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
upstream_project_url: https://github.com/wxMaxima-developers/wxmaxima
|
||||
upstream_tag_template: Version-{version}
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-rawhide
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
3
README.packit
Normal file
3
README.packit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.16.2.post1.dev8+g69d783e81.
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (Version-26.01.0.tar.gz) = 4d40a47db4c16abaccfdb56df6739aa22635c14d98c66171a8f26d3c20ced45f29db17893aeb7c744a4428f7788878791e08a06a5056c2be28420490da4bf1b9
|
||||
SHA512 (Version-26.08.0.tar.gz) = f96a710ec3f0c95f420f003c3ebef89ac33167226b6d169f9a65df60252294c30470b2f8d1b6104497a2c2593f88fa9bd39489642720b1cc0c5c0445452bb2f9
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Summary: Graphical user interface for Maxima
|
||||
Name: wxMaxima
|
||||
Version: 26.01.0
|
||||
Version: 26.08.0
|
||||
Release: %autorelease
|
||||
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
|
|
@ -16,14 +16,12 @@ Source0: https://github.com/wxMaxima-developers/wxmaxima/archive/Version-%{versi
|
|||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gettext
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: wxGTK-devel
|
||||
|
|
@ -41,8 +39,6 @@ Maxima using wxWidgets.
|
|||
%prep
|
||||
%autosetup -n wxmaxima-Version-%{version} -p1
|
||||
|
||||
dos2unix data/%{app_id}.desktop
|
||||
|
||||
|
||||
%build
|
||||
%cmake
|
||||
|
|
@ -52,32 +48,17 @@ dos2unix data/%{app_id}.desktop
|
|||
%install
|
||||
%cmake_install
|
||||
|
||||
# app icon
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{scalable,48x48,64x64,128x128}/apps/
|
||||
cp -alf \
|
||||
%{buildroot}%{_datadir}/pixmaps/%{app_id}.svg \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
||||
cp -alf \
|
||||
%{buildroot}%{_datadir}/pixmaps/%{app_id}.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/
|
||||
convert -resize 64x64 \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{app_id}.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{app_id}.png
|
||||
convert -resize 48x48 \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{app_id}.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{app_id}.png
|
||||
|
||||
# mime icons
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/
|
||||
cp -alf %{buildroot}%{_datadir}/pixmaps/text-x-wx*.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/
|
||||
|
||||
%find_lang wxMaxima
|
||||
%find_lang wxmaxima --with-man
|
||||
%find_lang %{name} --all-name --with-man
|
||||
|
||||
# Unpackaged files
|
||||
rm -fv %{buildroot}%{_datadir}/wxmaxima/{COPYING,README,README.md}
|
||||
rm -rfv %{buildroot}%{_datadir}/pixmaps/
|
||||
rm -rfv %{buildroot}%{_datadir}/menu
|
||||
rm -rfv %{buildroot}%{_datadir}/lintian/
|
||||
|
||||
|
||||
%check
|
||||
|
|
@ -85,10 +66,11 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{app_id}.appd
|
|||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{app_id}.desktop
|
||||
|
||||
|
||||
%files -f wxMaxima.lang -f wxmaxima.lang
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS.md ChangeLog NEWS.md README.md
|
||||
%license COPYING
|
||||
%{_bindir}/wxmaxima
|
||||
%{_bindir}/wxmxdiff
|
||||
%{_datadir}/wxMaxima/
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/applications/%{app_id}.desktop
|
||||
|
|
@ -98,6 +80,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{app_id}.desktop
|
|||
%{_datadir}/mime/packages/x-wxmaxima-batch.xml
|
||||
%{_docdir}/wxmaxima/
|
||||
%{_mandir}/man1/wxmaxima.1*
|
||||
%{_mandir}/man1/wxmxdiff.1*
|
||||
|
||||
|
||||
%changelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue