1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
#%define EXEC_DIR /exec/applis
# Initial spec file created by autospec ver. 0.8 with rpm 3 compatibility
Summary: toto
# The Summary: line should be expanded to about here -----^
Name: toto
Version: 0.1
Release: 1
Group: unknown
License: unknown
Source: toto-%{version}.bin.tar.gz
#NoSource: 0
BuildRoot: %{_tmppath}/%{name}-root
# Following are optional fields
#URL: http://www.example.net/toto/
#Distribution: Red Hat Contrib-Net
#Patch: toto-%{version}.patch
#Prefix: /
#BuildArch: noarch
#Requires:
#Obsoletes:
#BuildRequires:
%description
toto version 0.1
%prep
%setup -c 'toto-%{version}'
#%patch
%install
%__cp -a . "${RPM_BUILD_ROOT-/}"
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%readme /README
%config /toto.conf
#%{EXEC_DIR}/toto.sh
#%{EXEC_DIR}/toto.spec
/toto.sh
/toto.spec
%doc README
%changelog
* Tue Dec 22 2009 root <root@comaprod>
- Initial spec file created by autospec ver. 0.8 with rpm 3 compatibility |
Partager