wiki:SpecTemplates/PlainPackage

Version 2 (modified by daisuke, 16 years ago) (diff)

--

%define pkg_version <バージョン番号>
%define pkg_release 1%{?_dist_release}

Summary:     <short summary of package in english>
Summary(ja): <日本語のパッケージの簡単な説明>
Name:        <パッケージ名>
Version:     %{pkg_version}
Release:     %{pkg_release}
Source0:     %{name}-%{version}.tar.bz2
License:     <GPL|GPL2|BSD|MIT|...>
Group: 
URL: 

Requires: 
BuildRequires: 
BuildRoot: %{_tmppath}/%{name}-%{version}-root

Vendor: Project Vine
Distribution: Vine Linux


%description
package descriptions in english

%description -l ja
日本語の説明


%prep

%setup


%build
%configure
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf ${RPM_BUILD_ROOT}
%{__make} install DESTDIR=${RPM_BUILD_ROOT}


%clean
%{__rm} -rf ${RPM_BUILD_ROOT}


%files
%defattr(-,root,root)


%changelog
* Sun Jan 23 2008 Your Name <name@yours.example.com> VERSION-1
- initial build for Vine Linux


# end of file

spec テンプレート一覧へ?