utt/dist/spec/utt.spec

82 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

#
# 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
%define _this_version %(cat ../../common/version.def)
%define _this_release %(cat ../../common/release.def)
%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
BuildRoot: %(pwd)
#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
%(cat ../../common/description.def)
%description -l pl
%(cat ../../common/description.pl.def)
# -------------------------------------------------------------
# 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)
/*