Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:06a8b51d6d
Former-commit-id:3360eb6c5f
93 lines
1.6 KiB
RPMSpec
Executable file
93 lines
1.6 KiB
RPMSpec
Executable file
# jep.spec
|
|
#
|
|
# Copyright (c) 2004 Mike Johnson mrjohnson0@users.sourceforge.net
|
|
#
|
|
%define name jep
|
|
%define version @VERSION@
|
|
%define release 1
|
|
%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest
|
|
|
|
# required items
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Copyright: GPL
|
|
Group: Application/Misc
|
|
|
|
# optional items
|
|
#Vendor: Mike Johnson
|
|
#Distribution:
|
|
#Icon:
|
|
#URL:
|
|
#Packager: Mike Johnson mrjohnson0@users.sourceforge.net
|
|
|
|
# source + patches
|
|
Source: %{name}-%{version}.tar.gz
|
|
#Source1:
|
|
#Patch:
|
|
#Patch1:
|
|
|
|
# RPM info
|
|
#Provides:
|
|
#Requires:
|
|
#Conflicts:
|
|
#Prereq:
|
|
|
|
#Prefix: /usr
|
|
BuildRoot: /var/tmp/%{name}-%{version}
|
|
|
|
Summary: Java Embedded Python
|
|
|
|
%description
|
|
Java Embedded Python
|
|
@configure_input@
|
|
Please edit jep.spec.in to add several more lines of description
|
|
here if appropriate, and to delete these instructions.
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
|
|
# __os_install_post is implicitly expanded after the
|
|
# %install section... do it now, and then disable it,
|
|
# so all work is done before building manifest.
|
|
|
|
%{?__os_install_post}
|
|
%define __os_install_post %{nil}
|
|
|
|
# build the file list automagically into %{manifest}
|
|
|
|
cd $RPM_BUILD_ROOT
|
|
rm -f %{manifest}
|
|
find . -type d \
|
|
| sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' >> %{manifest}
|
|
find . -type f \
|
|
| sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest}
|
|
find . -type l \
|
|
| sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest}
|
|
|
|
#%pre
|
|
#%post
|
|
#%preun
|
|
#%postun
|
|
|
|
%clean
|
|
rm -f %{manifest}
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{manifest}
|
|
%defattr(-,root,root)
|
|
#%doc README
|
|
#%docdir
|
|
#%config
|
|
|
|
%changelog
|