summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-02-28 16:18:15 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-02-28 16:18:15 +0000
commit5a89f74030f11e8a935e3dc412f9b6fe1a3f9803 (patch)
tree1efae9df800e7e8b441e730085f575dfb9924b26
parentf82961369df24a4bee8b08b3f7715c19d63bd338 (diff)
automatic import of copr_tryf38
-rw-r--r--copr_try.spec77
-rw-r--r--sources0
2 files changed, 77 insertions, 0 deletions
diff --git a/copr_try.spec b/copr_try.spec
new file mode 100644
index 0000000..be8041a
--- /dev/null
+++ b/copr_try.spec
@@ -0,0 +1,77 @@
+%global srcname copr_try
+###############################################################################
+# Spec file for Utils
+################################################################################
+# Configured to be built by user hhyh or other non-root user
+################################################################################
+#
+Name: copr_try
+Summary: Utility scripts for testing RPM creation
+Version: 1.0.3
+Release: 1
+License: GPLv3
+URL: https://github.com/harryhanYuhao/copr_try
+Group: System
+Packager: Harry Han
+Requires: bash
+Requires: screen
+Requires: mc
+Requires: dmidecode
+#BuildRoot: ~/rpmbuild/
+BuildArch: x86_64
+
+# Build with the following syntax:
+# rpmbuild --target noarch -bb utils.spec
+
+%description
+A collection of utility scripts for testing RPM creation.
+
+%prep
+################################################################################
+# Create the build tree and copy the files from the biblioteca/copr_try directories #
+# into the build tree. #
+################################################################################
+echo "BUILDROOT = $RPM_BUILD_ROOT"
+mkdir -p $RPM_BUILD_ROOT/usr/local/bin/
+mkdir -p $RPM_BUILD_ROOT/usr/local/share/copr_try
+
+cp /home/hhyh/biblioteca/copr_try/src/* $RPM_BUILD_ROOT/usr/local/bin
+cp /home/hhyh/biblioteca/copr_try/LICENSE $RPM_BUILD_ROOT/usr/local/share/copr_try
+cp /home/hhyh/biblioteca/copr_try/copr_try.spec $RPM_BUILD_ROOT/usr/local/share/copr_try
+
+exit
+
+%files
+%attr(0744, root, root) /usr/local/bin/*
+%attr(0644, root, root) /usr/local/share/copr_try/*
+
+%pre
+
+%post
+
+%postun
+
+%clean
+rm -rf $RPM_BUILD_ROOT/usr/local/bin
+rm -rf $RPM_BUILD_ROOT/usr/local/share/copr_try
+
+%changelog
+* Wed Feb 28 2024 Harry Yuhao Han <s2162783@ed.ac.uk> 1.0.3-1
+-
+
+* Wed Feb 28 2024 Harry Yuhao Han <s2162783@ed.ac.uk> 1.0.2-1
+- init (s2162783@ed.ac.uk)
+
+* Wed Feb 28 2024 Harry Yuhao Han <s2162783@ed.ac.uk>
+- init (s2162783@ed.ac.uk)
+
+* Wed Feb 28 2024 Harry Yuhao Han <s2162783@ed.ac.uk> 1.0.0-1
+- Init
+
+* Wed Feb 28 2024 Harry Yuhao Han <s2162783@ed.ac.uk> 1.0.1-1
+- new package built with tito
+
+* Wed Aug 29 2018 Your Name <Youremail@yourdomain.com>
+ - The original package includes several useful scripts. it is
+ primarily intended to be used to illustrate the process of
+ building an RPM.
diff --git a/sources b/sources
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sources