summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-04-25 14:34:05 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-04-25 14:34:05 +0000
commitd7eb3e3d76da83c3d10f3405fa4db7b006a78de5 (patch)
tree19d63ac9c9098b3843762da3b79677c63de943d4
parent4bc2d888d20d3ab284053528bbb98fe4da9c118b (diff)
automatic import of R-CRAN-AlteredPQRf40
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-AlteredPQR.spec54
-rw-r--r--sources1
3 files changed, 56 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..151fbc6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/AlteredPQR_0.1.0.tar.gz
diff --git a/R-CRAN-AlteredPQR.spec b/R-CRAN-AlteredPQR.spec
new file mode 100644
index 0000000..a44aeb8
--- /dev/null
+++ b/R-CRAN-AlteredPQR.spec
@@ -0,0 +1,54 @@
+%global __brp_check_rpaths %{nil}
+%global __requires_exclude ^libmpi
+%global packname AlteredPQR
+%global packver 0.1.0
+%global rlibdir /usr/local/lib/R/library
+
+Name: R-CRAN-%{packname}
+Version: 0.1.0
+Release: 1%{?dist}%{?buildtag}
+Summary: Detection of Altered Protein Quantitative Relationships
+
+License: GPL (>= 3)
+URL: https://cran.r-project.org/package=%{packname}
+Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
+
+
+BuildRequires: R-devel >= 3.5.0
+Requires: R-core >= 3.5.0
+BuildArch: noarch
+
+%description
+Inference of protein complex states from quantitative proteomics data. The
+package takes information on known stable protein interactions (i.e.
+protein components of the same complex) and assesses how protein
+quantitative ratios change between different conditions. It reports
+protein pairs for which relative protein quantities to each other have
+been significantly altered in the tested condition.
+
+%prep
+%setup -q -c -n %{packname}
+
+# fix end of executable files
+find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
+# prevent binary stripping
+[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
+ sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
+[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
+ sed -i 's@-g0@@g' {} \; || true
+# don't allow local prefix in executable scripts
+find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;
+
+%build
+
+%install
+
+mkdir -p %{buildroot}%{rlibdir}
+%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
+test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
+rm -f %{buildroot}%{rlibdir}/R.css
+# remove buildroot from installed files
+find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;
+
+%files
+%{rlibdir}/%{packname}
diff --git a/sources b/sources
new file mode 100644
index 0000000..ad6a914
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ce3874311f39b8f4bf066114ccacc732 AlteredPQR_0.1.0.tar.gz