SPECS: slang.spec - add pcre/png modules; rel 1
arekm
arekm at pld-linux.org
Fri Sep 16 08:55:55 CEST 2005
Author: arekm Date: Fri Sep 16 06:55:55 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add pcre/png modules; rel 1
---- Files affected:
SPECS:
slang.spec (1.99 -> 1.100)
---- Diffs:
================================================================
Index: SPECS/slang.spec
diff -u SPECS/slang.spec:1.99 SPECS/slang.spec:1.100
--- SPECS/slang.spec:1.99 Sat Aug 13 19:13:42 2005
+++ SPECS/slang.spec Fri Sep 16 08:55:49 2005
@@ -1,7 +1,4 @@
# $Revision$, $Date$
-# TODO:
-# - subpackages for some modules like pcre/png?
-# - subpackage for slsh
Summary: shared library for C like extension language
Summary(de): Shared Library für eine C-artige Sprache
Summary(es): Biblioteca compartida para leguaje de extensión semejante a C
@@ -13,7 +10,7 @@
Summary(uk): âŚÂĚŚĎÔĹËÁ ÓĐŚĚŘÎĎÇĎ ËĎŇÉÓÔŐ×ÁÎÎŃ C-ĐĎÄŚÂÎϧ ÍĎ×É ŇĎÚŰÉŇĹÎÎŃ S-Lang
Name: slang
Version: 2.0.4
-Release: 0.1
+Release: 1
Epoch: 1
License: GPL
Group: Libraries
@@ -192,6 +189,22 @@
ăĹĘ ĐÁËĹÔ ÍŚÓÔÉÔŘ ÓÔÁÔÉŢÎŐ ÂŚÂĚŚĎÔĹËŐ, ÎĹĎÂČŚÄÎŐ ÄĚŃ ŇĎÚŇĎÂËÉ ĐŇĎÇŇÁÍ,
ÝĎ ×ÉËĎŇÉÓÔĎ×ŐŔÔŘ Slang.
+%package png
+Summary: PNG module for Slang
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description png
+PNG module for Slang.
+
+%package pcre
+Summary: PCRE module for Slang
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description pcre
+PCRE module for Slang.
+
%prep
%setup -q -a1
%patch0 -p1
@@ -228,7 +241,8 @@
cp -a modules examples demo src/curses $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
# help rpmdeps
-chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so*
+chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so* \
+ $RPM_BUILD_ROOT%{_libdir}/%{name}/v2/modules/*.so
%clean
rm -rf $RPM_BUILD_ROOT
@@ -244,6 +258,8 @@
%dir %{_libdir}/%{name}/v2
%dir %{_libdir}/%{name}/v2/modules
%attr(755,root,root) %{_libdir}/%{name}/v2/modules/*.so
+%attr(755,root,root) %exclude %{_libdir}/%{name}/v2/modules/png-module.so
+%attr(755,root,root) %exclude %{_libdir}/%{name}/v2/modules/pcre-module.so
%{_datadir}/slsh
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slsh.rc
%{_mandir}/man1/*1.*
@@ -259,12 +275,23 @@
%defattr(644,root,root,755)
%{_libdir}/libslang*.a
+%files png
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/v2/modules/png-module.so
+
+%files pcre
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/v2/modules/pcre-module.so
+
%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.100 2005/09/16 06:55:49 arekm
+- add pcre/png modules; rel 1
+
Revision 1.99 2005/08/13 17:13:42 qboosh
- unified
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/slang.spec?r1=1.99&r2=1.100&f=u
More information about the pld-cvs-commit
mailing list