Browse Source

rpmbuild

0.6r10^2
ale 3 years ago
parent
commit
7d1518daa6
5 changed files with 45 additions and 0 deletions
  1. +44
    -0
      lch.spec
  2. +0
    -0
      rpmbuild/RPMS/.gitkeep
  3. +0
    -0
      rpmbuild/SOURCES/.gitkeep
  4. +1
    -0
      rpmbuild/SPECS/lch.spec
  5. +0
    -0
      rpmbuild/SRPMS/.gitkeep

+ 44
- 0
lch.spec View File

@ -0,0 +1,44 @@
###############################################################################
# Spec file for lch
################################################################################
# Configured to be built by user student or other non-root user
################################################################################
#
Summary: Linux Compress Humanizer
Name: lch
Version: 0.6
Release: 10
License: GPL
URL: https://lch.hatthieves.es
Group: System
Packager: HatThieves
Requires: bash
BuildRoot: ./rpmbuild/
# Build with the following syntax:
# rpmbuild --target noarch -bb utils.spec
%description
Linux Compress Humanizer
%prep
################################################################################
# Create the build tree and copy the files from the development directories #
# into the build tree. #
################################################################################
echo "BUILDROOT = $RPM_BUILD_ROOT"
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/lib/lch
cp /lch/lch $RPM_BUILD_ROOT/usr/bin
cp -r /lch/lib/* $RPM_BUILD_ROOT/usr/lib/lch
exit
%files
%attr(0755, root, root) /usr/bin/lch
/usr/lib/lch/*
%clean
rm -f $RPM_BUILD_ROOT/usr/bin/lch
rm -rf $RPM_BUILD_ROOT/usr/lib/lch

+ 0
- 0
rpmbuild/RPMS/.gitkeep View File


+ 0
- 0
rpmbuild/SOURCES/.gitkeep View File


+ 1
- 0
rpmbuild/SPECS/lch.spec View File

@ -0,0 +1 @@
../../lch.spec

+ 0
- 0
rpmbuild/SRPMS/.gitkeep View File


Loading…
Cancel
Save