2008-03-11 14:02:41 +01:00
|
|
|
#
|
|
|
|
# Default RPM header.
|
|
|
|
#
|
|
|
|
# START_RPM_STD_HEADER:
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# RPM properties
|
|
|
|
#
|
|
|
|
%define _this_product UAM Text Tools
|
|
|
|
%define _this_summary Some tools for text processing
|
|
|
|
%define _this_name utt
|
2008-03-17 11:35:12 +01:00
|
|
|
%define _this_version %(cat ../../common/version.def)
|
|
|
|
%define _this_release %(cat ../../common/release.def)
|
2008-03-11 14:02:41 +01:00
|
|
|
%define _this_copyright Adam Mickiewicz University, Poland
|
|
|
|
|
|
|
|
#
|
|
|
|
# Default RPM header.
|
|
|
|
#
|
|
|
|
# END_RPM_STD_HEADER:
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
|
|
|
|
Summary: %_this_summary
|
|
|
|
Name: %_this_name
|
|
|
|
Version: %_this_version
|
|
|
|
Release: %_this_release
|
|
|
|
#Copyright: %_this_copyright
|
|
|
|
License: GPL
|
|
|
|
Group: Development/Tools
|
|
|
|
URL: http://utt.amu.edu.pl
|
|
|
|
Vendor: Adam Mickiewicz University
|
2008-03-17 11:35:12 +01:00
|
|
|
BuildRoot: %(pwd)
|
2008-03-11 14:02:41 +01:00
|
|
|
#BuildArch: i586
|
|
|
|
# requirements for utt application
|
|
|
|
#AutoReq: no
|
|
|
|
#AutoReqProv: no
|
|
|
|
|
|
|
|
#Requires: glibc >= 2.1.3
|
|
|
|
#Requires: libgcc1 >= 3.0
|
|
|
|
#Requires: libgcc >= 3.0
|
|
|
|
#Requires: libstdc++6 >= 3.4.1
|
|
|
|
#Requires: libstdc++ >= 3.4.1
|
|
|
|
|
|
|
|
%description
|
2008-03-17 11:35:12 +01:00
|
|
|
%(cat ../../common/description.def)
|
2008-03-11 14:02:41 +01:00
|
|
|
|
|
|
|
%description -l pl
|
2008-03-17 11:35:12 +01:00
|
|
|
%(cat ../../common/description.pl.def)
|
2008-03-11 14:02:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
# preparing sources for compilation
|
|
|
|
%prep
|
|
|
|
|
|
|
|
# source compilation
|
|
|
|
%build
|
|
|
|
|
|
|
|
# rpm building
|
|
|
|
%install
|
|
|
|
|
|
|
|
# cleaning after rpm build
|
|
|
|
%clean
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
#before installation
|
|
|
|
%pre
|
|
|
|
|
|
|
|
#after installation
|
|
|
|
%post
|
|
|
|
# we need to create utt.conf file
|
|
|
|
|
|
|
|
#before uninstallation
|
|
|
|
%preun
|
|
|
|
|
|
|
|
#after uninstallation
|
|
|
|
%postun
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/*
|