SPECS: Regina.spec - proper rpmbuild(macros) for %service - missin...
glen
glen at pld-linux.org
Thu May 11 10:55:38 CEST 2006
Author: glen Date: Thu May 11 08:55:38 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- proper rpmbuild(macros) for %service
- missing dir
- cosmetics
---- Files affected:
SPECS:
Regina.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/Regina.spec
diff -u SPECS/Regina.spec:1.4 SPECS/Regina.spec:1.5
--- SPECS/Regina.spec:1.4 Thu May 11 03:32:33 2006
+++ SPECS/Regina.spec Thu May 11 10:55:33 2006
@@ -1,7 +1,6 @@
# $Revision$, $Date$
# TODO:
# - use bconds
-
Summary: Rexx interpreter
Summary(pl): Interpreter języka REXX
Name: Regina
@@ -16,7 +15,7 @@
URL: http://regina-rexx.sourceforge.net
BuildRequires: bison
BuildRequires: flex
-BuildRequires: rpmbuild(macros) >= 1.228
+BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/chkconfig
Provides: rexx
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,9 +31,8 @@
applications.
There are two major goals for Regina:
-
- - become 100% compliant with the ANSI Standard.
- - be available on as many platforms as possible
+- become 100% compliant with the ANSI Standard.
+- be available on as many platforms as possible
%description -l pl
Regina jest interpreterem języka REXX, który został już przeniesiony
@@ -47,8 +45,8 @@
Idealnie sprawdza się jako język pisania makr dla innych aplikacji
Dwa główne cele tego interpretera, to
- - Stuprocentowa kompatybilność ze standardemi ANSI
- - dostępność na jak największej liczbie platform
+- Stuprocentowa kompatybilność ze standardemi ANSI
+- dostępność na jak największej liczbie platform
%package devel
Summary: Header files for Regina
@@ -92,15 +90,16 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rxstack
-install $RPM_BUILD_ROOT%{_prefix}/man/man1/regina.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+install $RPM_BUILD_ROOT%{_mandir}/man1/regina.1 $RPM_BUILD_ROOT%{_mandir}/man1
rm -f $RPM_BUILD_ROOT%{_prefix}/etc/rc.d/init.d/rxstack
-rm -f $RPM_BUILD_ROOT%{_prefix}/man/man1/regina.1
+rm -f $RPM_BUILD_ROOT/usr/man1/regina.1
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add rxstack
+%service rxstack restart
%preun
if [ "$1" = "0" ] ; then
@@ -116,6 +115,7 @@
%doc COPYING-LIB README* demo
%attr(755,root,root) %{_bindir}/*
%attr(754,root,root) /etc/rc.d/init.d/rxstack
+%dir %{_datadir}/regina
%attr(755,root,root) %{_datadir}/regina/*.rexx
%{_datadir}/regina/*.mtb
%{_mandir}/man1/regina.1*
@@ -134,6 +134,11 @@
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/05/11 08:55:33 glen
+- proper rpmbuild(macros) for %service
+- missing dir
+- cosmetics
+
Revision 1.4 2006/05/11 01:32:33 shadzik
- split into packages
@@ -145,4 +150,3 @@
Revision 1.1 2006/05/10 23:39:11 shadzik
- new (originally by Piotr Michonski, cleaned up by myself)
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/Regina.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list