SPECS: Regina.spec - split into packages
shadzik
shadzik at pld-linux.org
Thu May 11 03:32:39 CEST 2006
Author: shadzik Date: Thu May 11 01:32:39 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- split into packages
---- Files affected:
SPECS:
Regina.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/Regina.spec
diff -u SPECS/Regina.spec:1.3 SPECS/Regina.spec:1.4
--- SPECS/Regina.spec:1.3 Thu May 11 02:40:38 2006
+++ SPECS/Regina.spec Thu May 11 03:32:33 2006
@@ -1,8 +1,6 @@
# $Revision$, $Date$
# TODO:
-# - fix the method rxstarck is installed
# - use bconds
-# - create subpackages
Summary: Rexx interpreter
Summary(pl): Interpreter języka REXX
@@ -48,10 +46,36 @@
wystarczająco użytecznym, by być używanym przez doświadczonych.
Idealnie sprawdza się jako język pisania makr dla innych aplikacji
-Dwa główne cele tego internretera, to
+Dwa główne cele tego interpretera, to
- Stuprocentowa kompatybilność ze standardemi ANSI
- dostępność na jak największej liczbie platform
+%package devel
+Summary: Header files for Regina
+Summary(pl): Pliki nagłówkowe dla Regina
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files for Regina.
+
+%description devel -l pl
+Pliki nagłówkowe dla Regina.
+
+%package libs
+Summary: Libraries for Regina
+Summary(pl): Biblioteki dla Regina
+Group: Libraries
+Provides: libregina.so
+Provides: libregina.so(REXXSAA_API)
+Provides: libregina.so(regina_2.0)
+
+%description libs
+Regina libraries.
+
+%description libs -l pl
+Biblioteki dla packietu Regina.
+
%prep
%setup -q
%patch0 -p1
@@ -84,22 +108,35 @@
/sbin/chkconfig --del rxstack
fi
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc COPYING-LIB README* demo
%attr(755,root,root) %{_bindir}/*
%attr(754,root,root) /etc/rc.d/init.d/rxstack
-%attr(644,root,root) %{_includedir}/rexxsaa.h
-%attr(755,root,root) %{_prefix}/lib/*
%attr(755,root,root) %{_datadir}/regina/*.rexx
%{_datadir}/regina/*.mtb
%{_mandir}/man1/regina.1*
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.a
+%{_includedir}/rexxsaa.h
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/05/11 01:32:33 shadzik
+- split into packages
+
Revision 1.3 2006/05/11 00:40:38 shadzik
- drop init.patch; fixed pre/post scripts with new init script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/Regina.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list