packages: isl/isl.spec - package gdb pretty printers
qboosh
qboosh at pld-linux.org
Fri May 25 18:39:51 CEST 2012
Author: qboosh Date: Fri May 25 16:39:51 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- package gdb pretty printers
---- Files affected:
packages/isl:
isl.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/isl/isl.spec
diff -u packages/isl/isl.spec:1.3 packages/isl/isl.spec:1.4
--- packages/isl/isl.spec:1.3 Fri May 25 18:25:20 2012
+++ packages/isl/isl.spec Fri May 25 18:39:46 2012
@@ -1,5 +1,5 @@
# $Revision$, $Date$
-# TODO: install gdb pretty-printer properly (see files)
+# TODO: verify gdb pretty-printers location
#
# Conditional build:
%bcond_without apidocs # do not build and package API docs
@@ -18,6 +18,7 @@
URL: http://freecode.com/projects/isl
BuildRequires: gmp-devel
%{?with_piplib:BuildRequires: piplib-devel >= 1.3.6}
+BuildRequires: rpm-pythonprov
BuildRequires: tar >= 1:1.22
BuildRequires: xz
%if %{with apidocs}
@@ -26,7 +27,7 @@
BuildRequires: texlive-format-pdflatex
%endif
%{?with_piplib:Requires: piplib >= 1.3.6}
-# clang?
+# clang can be used to generate interface/isl.py, which is not used afterwards
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -84,6 +85,19 @@
%description apidocs -l pl.UTF-8
Dokumentacja API biblioteki isl.
+%package gdb
+Summary: GDB Python pretty printers for isl types
+Summary(pl.UTF-8): Skrypty Pythona dla GDB do ładnego wypisywania typów isl
+Group: Development/Debuggers
+Requires: gdb
+
+%description gdb
+GDB Python pretty printers for most of isl objects.
+
+%description gdb -l pl.UTF-8
+Skrypty Pythona dla GDB do ładnego wypisywania większości obiektów
+isl.
+
%prep
%setup -q
@@ -122,21 +136,25 @@
%defattr(644,root,root,755)
%{_libdir}/libisl.a
-# TODO: package gdb pretty printer properly
-#%{_libdir}/libisl.so.*.*.*-gdb.py
-
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
%doc doc/manual.pdf
%endif
+%files gdb
+%defattr(644,root,root,755)
+%{_libdir}/libisl.so.*.*.*-gdb.py
+
%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 2012/05/25 16:39:46 qboosh
+- package gdb pretty printers
+
Revision 1.3 2012/05/25 16:25:20 qboosh
- use piplib solver instead of stubs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/isl/isl.spec?r1=1.3&r2=1.4
More information about the pld-cvs-commit
mailing list