# This is a spec file for starlight audio module
%define name rpmdemo
%define buildroot %{_topdir}/%{name}-0.1
%define buildarch noarch
%define prefix /opt/starlight
%define _binaries_in_noarch_packages_terminate_build 0
%define _source_filedigest_algorithm 8
%define _binary_filedigest_algorithm 8
BuildRoot: %{buildroot}
Summary: Starlight audio module
License: GPL
Name: %{name}
Version: 0.1
Release: 0.1
Source: %{name}-0.1.tar.gz
Prefix: %{prefix}
Group: Development/Tools
BuildArch: %{buildarch}
%description
Starlight audio module
%prep
%setup -q
%install
mkdir -p %{buildroot}%{prefix}/bin/
cp -r %{_topdir}/BUILD/%{name}-0.1/bin/hello %{buildroot}%{prefix}/bin/
%files
%defattr(-,root,root)
%{prefix}/bin/hello
~
"rpmdemo.spec" 35L, 751C 1,1 All
*****************************************************************
2nd SPEC file for .zip contenet
# This is a spec file for starlight audio module
%define name lcd
%define buildroot %{_topdir}/%{name}-0.1
%define buildarch noarch
%define prefix /opt/starlight
%define _binaries_in_noarch_packages_terminate_build 0
%define _source_filedigest_algorithm 8
%define _binary_filedigest_algorithm 8
BuildRoot: %{buildroot}
Summary: Starlight audio module
License: GPL
Name: %{name}
Version: 0.1
Release: 0.1
Source: %{name}-0.1.tar.gz
Prefix: %{prefix}
Group: Development/Tools
BuildArch: %{buildarch}
%description
Starlight audio module
%prep
%setup -q
%install
mkdir -p %{buildroot}%{prefix}/
cp -r %{_topdir}/BUILD/%{name}-0.1.tar.gz %{buildroot}%{prefix}/
%files
%defattr(-,root,root)
%{prefix}/lcd-0.1.tar.gz
**********************************************************************
rpm file is used for the installing the package in the ubuntu O.S
http://rpm5.org/docs/rpm-guide.html#ch-creating-rpms
http://www.rpm.org/max-rpm/ch-rpm-basics.html
%define name rpmdemo
%define buildroot %{_topdir}/%{name}-0.1
%define buildarch noarch
%define prefix /opt/starlight
%define _binaries_in_noarch_packages_terminate_build 0
%define _source_filedigest_algorithm 8
%define _binary_filedigest_algorithm 8
BuildRoot: %{buildroot}
Summary: Starlight audio module
License: GPL
Name: %{name}
Version: 0.1
Release: 0.1
Source: %{name}-0.1.tar.gz
Prefix: %{prefix}
Group: Development/Tools
BuildArch: %{buildarch}
%description
Starlight audio module
%prep
%setup -q
%install
mkdir -p %{buildroot}%{prefix}/bin/
cp -r %{_topdir}/BUILD/%{name}-0.1/bin/hello %{buildroot}%{prefix}/bin/
%files
%defattr(-,root,root)
%{prefix}/bin/hello
~
"rpmdemo.spec" 35L, 751C 1,1 All
*****************************************************************
2nd SPEC file for .zip contenet
# This is a spec file for starlight audio module
%define name lcd
%define buildroot %{_topdir}/%{name}-0.1
%define buildarch noarch
%define prefix /opt/starlight
%define _binaries_in_noarch_packages_terminate_build 0
%define _source_filedigest_algorithm 8
%define _binary_filedigest_algorithm 8
BuildRoot: %{buildroot}
Summary: Starlight audio module
License: GPL
Name: %{name}
Version: 0.1
Release: 0.1
Source: %{name}-0.1.tar.gz
Prefix: %{prefix}
Group: Development/Tools
BuildArch: %{buildarch}
%description
Starlight audio module
%prep
%setup -q
%install
mkdir -p %{buildroot}%{prefix}/
cp -r %{_topdir}/BUILD/%{name}-0.1.tar.gz %{buildroot}%{prefix}/
%files
%defattr(-,root,root)
%{prefix}/lcd-0.1.tar.gz
**********************************************************************
rpm file is used for the installing the package in the ubuntu O.S
http://rpm5.org/docs/rpm-guide.html#ch-creating-rpms
http://www.rpm.org/max-rpm/ch-rpm-basics.html
No comments:
Post a Comment