From c004cd4731b972452b260aa0954179973ed7f8df Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Thu, 26 Jun 2025 10:30:07 -0400 Subject: [PATCH 01/13] drspine spec file added --- drspine.spec | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 drspine.spec diff --git a/drspine.spec b/drspine.spec new file mode 100644 index 0000000..085fc84 --- /dev/null +++ b/drspine.spec @@ -0,0 +1,38 @@ +Name: drspine +Version: +Release: 1%{?dist} +Summary: + +License: +URL: +Source0: + +BuildRequires: +Requires: + +%description + + +%prep +%autosetup + + +%build +%configure +%make_build + + +%install +rm -rf $RPM_BUILD_ROOT +%make_install + + +%files +%license add-license-file-here +%doc add-docs-here + + + +%changelog +* Tue Jun 24 2025 root +- -- GitLab From 4d3b350c9f856d614f4d54215cd9c1b24ee06e24 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Thu, 26 Jun 2025 11:13:17 -0400 Subject: [PATCH 02/13] it includes all the required packages and configurations to build the rpm with its depedencies in an empty container/environment --- setup.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..92eb410 --- /dev/null +++ b/setup.sh @@ -0,0 +1,36 @@ +dnf update +dnf install -y nano +dnf install -y tree +dnf config-manager --set-enabled crb && dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm + + +dnf install -y zlib-devel +dnf install -y libjpeg-turbo +dnf install -y libjpeg-turbo-devel +dnf install -y gcc +dnf install -y python3-devel +dnf install -y texlive-kpathsea +dnf install -y epel-release +dnf check-update +yum install -y libXt libXrender libXext mesa-libGL qt6-qtbase-gui +dnf install -y rpmdevtools rpmlint +dnf install git + +#drspine requirements +dnf install -y python3 +dnf install -y make rpm-build python3-build python3-pip python-unversioned-command +dnf install -y python3-numpy.x86_64 +dnf install -y python3-scipy.x86_64 +dnf install -y python3-ipython.noarch +dnf install -y python3-matplotlib.x86_64 +dnf install -y gr-0.73.17-106.2.x86_64.rpm +dnf install -y python3-gr-1.27.0-105.17.x86_64.rpm +dnf install -y libgfortran.x86_64 +dnf install -y compat-libgfortran-48.x86_64 +dnf install -y gcc-gfortran.x86_64 +dnf install -y texlive-epstopdf.noarch +dnf install -y texlive-collection-latex +dnf install -y wget +dnf install -y texlive-bigfoot +dnf install -y texlive-mathtools +dnf install -y texlive-cm-super \ No newline at end of file -- GitLab From 38d954f59d024aa3888e598ae96995c497ad1b90 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Thu, 26 Jun 2025 11:24:53 -0400 Subject: [PATCH 03/13] include the latest changes --- drspine.spec | 64 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 49 insertions(+), 15 deletions(-) diff --git a/drspine.spec b/drspine.spec index 085fc84..b4118db 100644 --- a/drspine.spec +++ b/drspine.spec @@ -1,37 +1,71 @@ Name: drspine -Version: +Version: 1.0.0 Release: 1%{?dist} -Summary: +Summary: drspine summary -License: -URL: -Source0: +License: MIT +URL: https://code.ornl.gov/zp1/drspine.git +Source0: %{name}-%{version}.tar.gz -BuildRequires: -Requires: +BuildRequires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python3, python3-build, python3-pip, gr, python3-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea, wget +Requires: python3-ipython, python3-scipy, python3-numpy, python3-matplotlib -%description +%description +drspine rpm package %prep -%autosetup +%setup q %build -%configure -%make_build +# copy the necessary latex packages to the global directory +mkdir -p /usr/share/texmf/tex/latex/contrib +wget https://mirrors.ctan.org/macros/latex/contrib/appendix.zip + unzip ${_##*/} + pushd ./appendix + latex ./appendix.ins + cp ./appendix.sty /usr/share/texmf/tex/latex/contrib + popd + + wget https://mirrors.ctan.org/macros/latex/contrib/draftwatermark.zip + unzip ${_##*/} + pushd ./draftwatermark + latex ./draftwatermark.ins + cp ./draftwatermark.sty /usr/share/texmf/tex/latex/contrib + popd + + wget https://mirrors.ctan.org/macros/latex/contrib/relsize.zip + unzip ${_##*/} + pushd ./relsize + cp ./relsize.sty /usr/share/texmf/tex/latex/contrib + popd + + wget https://mirrors.ctan.org/macros/latex/contrib/cprotect.zip + unzip ${_##*/} + pushd ./cprotect + latex ./cprotect.dtx + cp ./cprotect.sty /usr/share/texmf/tex/latex/contrib + popd +# run make +%{__make} clean +%{__make} INSTRUMENT=1 GRDIR=%{_usr}/gr all %install -rm -rf $RPM_BUILD_ROOT %make_install +%check +%{__make} runtest -%files -%license add-license-file-here -%doc add-docs-here +%files +/bin/* +/lib/* +/share/* +%clean +rm -rf $RPM_BUILD_ROOT %changelog * Tue Jun 24 2025 root -- GitLab From a9b859bde98c7970731db4ea4e1fbde782cbccc3 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Thu, 26 Jun 2025 13:31:01 -0400 Subject: [PATCH 04/13] license, docs, and depdency updates --- drspine.spec | 8 +++++--- setup.sh | 21 ++++++++++----------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/drspine.spec b/drspine.spec index b4118db..8970d78 100644 --- a/drspine.spec +++ b/drspine.spec @@ -1,5 +1,5 @@ Name: drspine -Version: 1.0.0 +Version: 1.5 Release: 1%{?dist} Summary: drspine summary @@ -15,7 +15,7 @@ Requires: python3-ipython, python3-scipy, python3-numpy, python3-matplotli drspine rpm package %prep -%setup q +%setup -q %build @@ -60,6 +60,8 @@ wget https://mirrors.ctan.org/macros/latex/contrib/appendix.zip %files +%doc README.md +%license LICENSE.drspine LICENSE.linenoise /bin/* /lib/* /share/* @@ -69,4 +71,4 @@ rm -rf $RPM_BUILD_ROOT %changelog * Tue Jun 24 2025 root -- +- package creation diff --git a/setup.sh b/setup.sh index 92eb410..978e0d4 100755 --- a/setup.sh +++ b/setup.sh @@ -1,8 +1,9 @@ dnf update dnf install -y nano dnf install -y tree -dnf config-manager --set-enabled crb && dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm - +dnf install -y epel-release +dnf check-update +dnf config-manager --set-enabled crb && dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm dnf install -y zlib-devel dnf install -y libjpeg-turbo @@ -10,24 +11,22 @@ dnf install -y libjpeg-turbo-devel dnf install -y gcc dnf install -y python3-devel dnf install -y texlive-kpathsea -dnf install -y epel-release -dnf check-update yum install -y libXt libXrender libXext mesa-libGL qt6-qtbase-gui dnf install -y rpmdevtools rpmlint -dnf install git +dnf install -y git #drspine requirements dnf install -y python3 dnf install -y make rpm-build python3-build python3-pip python-unversioned-command -dnf install -y python3-numpy.x86_64 -dnf install -y python3-scipy.x86_64 +dnf install -y python3-numpy +dnf install -y python3-scipy dnf install -y python3-ipython.noarch -dnf install -y python3-matplotlib.x86_64 +dnf install -y python3-matplotlib dnf install -y gr-0.73.17-106.2.x86_64.rpm dnf install -y python3-gr-1.27.0-105.17.x86_64.rpm -dnf install -y libgfortran.x86_64 -dnf install -y compat-libgfortran-48.x86_64 -dnf install -y gcc-gfortran.x86_64 +dnf install -y libgfortran +dnf install -y compat-libgfortran-48 +dnf install -y gcc-gfortran dnf install -y texlive-epstopdf.noarch dnf install -y texlive-collection-latex dnf install -y wget -- GitLab From 71013ae0b6b6b749c4fbe5cd7403cbb43ae466e4 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Thu, 26 Jun 2025 13:32:25 -0400 Subject: [PATCH 05/13] newline added --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 978e0d4..2dae68a 100755 --- a/setup.sh +++ b/setup.sh @@ -32,4 +32,4 @@ dnf install -y texlive-collection-latex dnf install -y wget dnf install -y texlive-bigfoot dnf install -y texlive-mathtools -dnf install -y texlive-cm-super \ No newline at end of file +dnf install -y texlive-cm-super -- GitLab From 83c43afb8f16e9f57d689464b1c39149c8e486ab Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Fri, 27 Jun 2025 11:25:19 -0400 Subject: [PATCH 06/13] changes due to comments --- drspine.spec | 98 +++++++++++++++++++++-------------- setup.sh => rpmbuild_setup.sh | 8 +++ 2 files changed, 68 insertions(+), 38 deletions(-) rename setup.sh => rpmbuild_setup.sh (79%) diff --git a/drspine.spec b/drspine.spec index 8970d78..1900dbb 100644 --- a/drspine.spec +++ b/drspine.spec @@ -1,71 +1,93 @@ -Name: drspine +%global srcname drspine +%global summary Data reduction software for the Neutron Spin Echo method. +%define release 1 +%define python3_pkgversion 3 +%define __unzip /usr/bin/unzip +%define __copydir cp -a + + +Name: %{srcname} Version: 1.5 -Release: 1%{?dist} -Summary: drspine summary +Release: %{release}%{?dist} + +Summary: %{summary} +Group: Development/Libraries License: MIT -URL: https://code.ornl.gov/zp1/drspine.git +URL: https://code.ornl.gov/zp1/drspine/ Source0: %{name}-%{version}.tar.gz +Source1: appendix.zip +Source2: cprotect.zip +Source3: draftwatermark.zip +Source4: relsize.zip -BuildRequires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python3, python3-build, python3-pip, gr, python3-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea, wget -Requires: python3-ipython, python3-scipy, python3-numpy, python3-matplotlib +BuildRequires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea +Requires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea, python%{python3_pkgversion}-ipython, python%{python3_pkgversion}-scipy, python%{python3_pkgversion}-numpy, python%{python3_pkgversion}-matplotlib %description -drspine rpm package +%{summary} %prep %setup -q - +%{__unzip} -q %{SOURCE1} +%{__unzip} -q %{SOURCE2} +%{__unzip} -q %{SOURCE3} +%{__unzip} -q %{SOURCE4} %build -# copy the necessary latex packages to the global directory -mkdir -p /usr/share/texmf/tex/latex/contrib -wget https://mirrors.ctan.org/macros/latex/contrib/appendix.zip - unzip ${_##*/} - pushd ./appendix - latex ./appendix.ins - cp ./appendix.sty /usr/share/texmf/tex/latex/contrib - popd - - wget https://mirrors.ctan.org/macros/latex/contrib/draftwatermark.zip - unzip ${_##*/} - pushd ./draftwatermark - latex ./draftwatermark.ins - cp ./draftwatermark.sty /usr/share/texmf/tex/latex/contrib - popd - - wget https://mirrors.ctan.org/macros/latex/contrib/relsize.zip - unzip ${_##*/} - pushd ./relsize - cp ./relsize.sty /usr/share/texmf/tex/latex/contrib - popd - - wget https://mirrors.ctan.org/macros/latex/contrib/cprotect.zip - unzip ${_##*/} - pushd ./cprotect - latex ./cprotect.dtx - cp ./cprotect.sty /usr/share/texmf/tex/latex/contrib - popd - # run make %{__make} clean +%{__mkdir} -p %{_builddir}%{_datadir}/texmf/tex/latex/contrib + +# copy the necessary latex packages to the global directory and the source code +pushd ./appendix + latex ./appendix.ins + %{__install} -m 644 appendix.sty %{_builddir}%{_datadir}/texmf/tex/latex/contrib + %{__install} -m 644 appendix.sty %{_builddir}/%{name}-%{version}/doc +popd + +pushd ./draftwatermark + latex ./draftwatermark.ins + %{__install} -m 644 draftwatermark.sty %{_builddir}%{_datadir}/texmf/tex/latex/contrib + %{__install} -m 644 draftwatermark.sty %{_builddir}/%{name}-%{version}/doc +popd + +pushd ./relsize + %{__install} -m 644 relsize.sty %{_builddir}%{_datadir}/texmf/tex/latex/contrib + %{__install} -m 644 relsize.sty %{_builddir}/%{name}-%{version}/doc +popd + +pushd ./cprotect + latex ./cprotect.dtx + %{__install} -m 644 cprotect.sty %{_builddir}%{_datadir}/texmf/tex/latex/contrib + %{__install} -m 644 cprotect.sty %{_builddir}/%{name}-%{version}/doc +popd + %{__make} INSTRUMENT=1 GRDIR=%{_usr}/gr all %install +#copy the latex in the build directory +%{__install} -d -m 0755 %{buildroot}%{_datadir}/texmf/tex/latex/contrib +%{__copydir} %{_builddir}%{_datadir}/texmf/tex/latex/contrib/* %{buildroot}%{_datadir}/texmf/tex/latex/contrib/ %make_install %check +#test after install step %{__make} runtest +%post +mktexlsr %{_datadir}/texmf > /dev/null || : %files %doc README.md %license LICENSE.drspine LICENSE.linenoise +# the files are in /bin, /lib, /share +# the default macros point to /usr/bin, /usr/lib, etc and cannot be used /bin/* /lib/* /share/* - +%{_datadir}/texmf/tex/latex/contrib/* %clean rm -rf $RPM_BUILD_ROOT diff --git a/setup.sh b/rpmbuild_setup.sh similarity index 79% rename from setup.sh rename to rpmbuild_setup.sh index 2dae68a..0715329 100755 --- a/setup.sh +++ b/rpmbuild_setup.sh @@ -1,3 +1,5 @@ +#!/usr/bin/sh + dnf update dnf install -y nano dnf install -y tree @@ -33,3 +35,9 @@ dnf install -y wget dnf install -y texlive-bigfoot dnf install -y texlive-mathtools dnf install -y texlive-cm-super + +#latex ctan files +wget https://mirrors.ctan.org/macros/latex/contrib/appendix.zip +wget https://mirrors.ctan.org/macros/latex/contrib/draftwatermark.zip +wget https://mirrors.ctan.org/macros/latex/contrib/relsize.zip +wget https://mirrors.ctan.org/macros/latex/contrib/cprotect.zip -- GitLab From d0a6e879d42a0cc81c56d3a7e4d1c7b8ea4e75f3 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Fri, 27 Jun 2025 11:35:24 -0400 Subject: [PATCH 07/13] add spaces --- drspine.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drspine.spec b/drspine.spec index 1900dbb..f639380 100644 --- a/drspine.spec +++ b/drspine.spec @@ -5,7 +5,6 @@ %define __unzip /usr/bin/unzip %define __copydir cp -a - Name: %{srcname} Version: 1.5 Release: %{release}%{?dist} @@ -88,9 +87,10 @@ mktexlsr %{_datadir}/texmf > /dev/null || : /lib/* /share/* %{_datadir}/texmf/tex/latex/contrib/* + %clean rm -rf $RPM_BUILD_ROOT %changelog -* Tue Jun 24 2025 root +* Fri Jun 27 2025 root - package creation -- GitLab From 5869f9b88d26e60a45daefed341f271fa06039a0 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Fri, 27 Jun 2025 13:28:27 -0400 Subject: [PATCH 08/13] texlive-pgfplots missing depdendency added --- drspine.spec | 2 +- rpmbuild_setup.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drspine.spec b/drspine.spec index f639380..86f1ae8 100644 --- a/drspine.spec +++ b/drspine.spec @@ -21,7 +21,7 @@ Source3: draftwatermark.zip Source4: relsize.zip BuildRequires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea -Requires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea, python%{python3_pkgversion}-ipython, python%{python3_pkgversion}-scipy, python%{python3_pkgversion}-numpy, python%{python3_pkgversion}-matplotlib +Requires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea,texlive-pgfplots, python%{python3_pkgversion}-ipython, python%{python3_pkgversion}-scipy, python%{python3_pkgversion}-numpy, python%{python3_pkgversion}-matplotlib %description diff --git a/rpmbuild_setup.sh b/rpmbuild_setup.sh index 0715329..b3d74f2 100755 --- a/rpmbuild_setup.sh +++ b/rpmbuild_setup.sh @@ -35,6 +35,7 @@ dnf install -y wget dnf install -y texlive-bigfoot dnf install -y texlive-mathtools dnf install -y texlive-cm-super +dnf install -y texlive-pgfplots #latex ctan files wget https://mirrors.ctan.org/macros/latex/contrib/appendix.zip -- GitLab From 387cd95616e6fcb29a386e096116f7b7d811e4fa Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Fri, 27 Jun 2025 15:54:22 -0400 Subject: [PATCH 09/13] version number back to 1.4.3 --- drspine.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drspine.spec b/drspine.spec index 86f1ae8..6fea3c9 100644 --- a/drspine.spec +++ b/drspine.spec @@ -1,12 +1,12 @@ %global srcname drspine %global summary Data reduction software for the Neutron Spin Echo method. -%define release 1 +%define release 2 %define python3_pkgversion 3 %define __unzip /usr/bin/unzip %define __copydir cp -a Name: %{srcname} -Version: 1.5 +Version: 1.4.3 Release: %{release}%{?dist} Summary: %{summary} -- GitLab From 3292cead4b4c3745c01f2d24f87d2eaade060169 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Fri, 27 Jun 2025 15:54:58 -0400 Subject: [PATCH 10/13] release set to 1 --- drspine.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drspine.spec b/drspine.spec index 6fea3c9..b8a348c 100644 --- a/drspine.spec +++ b/drspine.spec @@ -1,6 +1,6 @@ %global srcname drspine %global summary Data reduction software for the Neutron Spin Echo method. -%define release 2 +%define release 1 %define python3_pkgversion 3 %define __unzip /usr/bin/unzip %define __copydir cp -a -- GitLab From c93d8262c9ee0053842d62b542dee72dee5ad04c Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Fri, 27 Jun 2025 16:16:30 -0400 Subject: [PATCH 11/13] lib specific files --- drspine.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drspine.spec b/drspine.spec index b8a348c..52653d8 100644 --- a/drspine.spec +++ b/drspine.spec @@ -84,7 +84,8 @@ mktexlsr %{_datadir}/texmf > /dev/null || : # the files are in /bin, /lib, /share # the default macros point to /usr/bin, /usr/lib, etc and cannot be used /bin/* -/lib/* +/lib/python/* +/lib/libdrspine.a /share/* %{_datadir}/texmf/tex/latex/contrib/* -- GitLab From dd3bff619d08eb5ae283901318c76a7ac944112a Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Fri, 27 Jun 2025 16:55:17 -0400 Subject: [PATCH 12/13] specific prefix and lib paths --- drspine.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drspine.spec b/drspine.spec index 52653d8..caefed6 100644 --- a/drspine.spec +++ b/drspine.spec @@ -1,5 +1,6 @@ %global srcname drspine %global summary Data reduction software for the Neutron Spin Echo method. +%global _libdir %{_prefix}/lib %define release 1 %define python3_pkgversion 3 %define __unzip /usr/bin/unzip @@ -69,7 +70,7 @@ popd #copy the latex in the build directory %{__install} -d -m 0755 %{buildroot}%{_datadir}/texmf/tex/latex/contrib %{__copydir} %{_builddir}%{_datadir}/texmf/tex/latex/contrib/* %{buildroot}%{_datadir}/texmf/tex/latex/contrib/ -%make_install +%make_install DESTDIR=%{buildroot}%{_prefix} %check #test after install step @@ -83,10 +84,16 @@ mktexlsr %{_datadir}/texmf > /dev/null || : %license LICENSE.drspine LICENSE.linenoise # the files are in /bin, /lib, /share # the default macros point to /usr/bin, /usr/lib, etc and cannot be used -/bin/* -/lib/python/* -/lib/libdrspine.a -/share/* +%{_bindir}/drspine +%{_bindir}/drspine_activate.sh +%{_bindir}/drspine_create_env.sh +%{_bindir}/extract_figures +%{_bindir}/mxx +%{_bindir}/plain_figures +%{_libdir}/python/drspine/* +%{_libdir}/python/drspine-*.egg-info +%{_libdir}/libdrspine.a +%{_datadir}/drspine/* %{_datadir}/texmf/tex/latex/contrib/* %clean -- GitLab From d6e7ff4ff474944b84a062dc81b91a186597b0fc Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Wed, 9 Jul 2025 16:25:29 -0400 Subject: [PATCH 13/13] gcc, make removed from requires --- drspine.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drspine.spec b/drspine.spec index caefed6..0504f53 100644 --- a/drspine.spec +++ b/drspine.spec @@ -22,7 +22,7 @@ Source3: draftwatermark.zip Source4: relsize.zip BuildRequires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea -Requires: gcc, gcc-gfortran, libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, make, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea,texlive-pgfplots, python%{python3_pkgversion}-ipython, python%{python3_pkgversion}-scipy, python%{python3_pkgversion}-numpy, python%{python3_pkgversion}-matplotlib +Requires: libgfortran%{?_isa}, compat-libgfortran-48%{?_isa}, python%{python3_pkgversion}, python%{python3_pkgversion}-build, python%{python3_pkgversion}-pip, gr, python%{python3_pkgversion}-gr, texlive-collection-latex, texlive-bigfoot, texlive-mathtools, texlive-cm-super, texlive-epstopdf, texlive-kpathsea,texlive-pgfplots, python%{python3_pkgversion}-ipython, python%{python3_pkgversion}-scipy, python%{python3_pkgversion}-numpy, python%{python3_pkgversion}-matplotlib %description -- GitLab