[packages/libruin] - new
qboosh
qboosh at pld-linux.org
Sat Jul 27 08:43:56 CEST 2013
commit 2a60975dd5d2480c13a35cd42472f97dc2b75fca
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 27 08:43:50 2013 +0200
- new
libruin-info.patch | 14 +++++++
libruin-make.patch | 24 ++++++++++++
libruin.spec | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 151 insertions(+)
---
diff --git a/libruin.spec b/libruin.spec
new file mode 100644
index 0000000..73a11f1
--- /dev/null
+++ b/libruin.spec
@@ -0,0 +1,113 @@
+Summary: Renderer for User Interfaces in Ncurses library
+Summary(pl.UTF-8): Biblioteka renderująca interfejsy użytkownika przy użyciu ncurses
+Name: libruin
+Version: 0.2.0
+Release: 1
+License: GPL v3+
+Group: Libraries
+Source0: http://download.savannah.gnu.org/releases/libruin/%{name}-%{version}.tar.gz
+# Source0-md5: 880ebec675f165a7fc0b80a2aae98b72
+Patch0: %{name}-make.patch
+URL: http://www.nongnu.org/libruin/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1.6
+BuildRequires: curl-devel
+BuildRequires: glib2-devel >= 1:2.28.0
+BuildRequires: guile-devel >= 2.0
+BuildRequires: libtool
+BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
+BuildRequires: texinfo
+Requires: glib2 >= 1:2.28.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libRUIN is a Renderer for User Interfaces in Ncurses. It is a library
+that can be embedded in arbitrary applications that allows developers
+to design user interfaces in any of several XML dialects that are
+suitable for interface mark-up and will display these interfaces and
+manage input handling for them using the Ncurses terminal control
+library.
+
+%description -l pl.UTF-8
+libRUIN (Renderer for User Interface in Ncurses) to biblioteka
+renderująca interfejsy użytkownika przy użyciu biblioteki ncurses.
+Może być osadzona w dowolnej aplikacji, pozwalając programistom
+projektować interfejsy użytkownika w jednym z kilku dialektów XML-a,
+nadających się jako znaczniki dla interfejsu. Biblioteka wyświetla
+interfejsy i zarządza obsługą wejścia przy użyciu biblioteki
+sterującej terminalem ncurses.
+
+%package devel
+Summary: Header files for libRUIN library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libRUIN
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel >= 1:2.28.0
+Requires: guile-devel >= 2.0
+Requires: ncurses-devel
+
+%description devel
+Header files for libRUIN library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libRUIN.
+
+%package static
+Summary: Static libRUIN library
+Summary(pl.UTF-8): Statyczna biblioteka libRUIN
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libRUIN library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libRUIN.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libruin/ChangeLog
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_libdir}/libruin.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libruin.so.0
+%{_libdir}/libruin
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libruin.so
+%{_libdir}/libruin.la
+%{_includedir}/libruin.h
+%{_infodir}/libruin.info*
+%{_mandir}/man3/ruin.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libruin.a
diff --git a/libruin-info.patch b/libruin-info.patch
new file mode 100644
index 0000000..9cd9039
--- /dev/null
+++ b/libruin-info.patch
@@ -0,0 +1,14 @@
+--- libruin-0.2.0/doc/libruin.texi.orig 2010-12-31 19:38:42.000000000 +0100
++++ libruin-0.2.0/doc/libruin.texi 2013-07-26 22:06:17.698612102 +0200
+@@ -21,9 +21,9 @@
+ @end quotation
+ @end copying
+
+- at dircategory Development
++ at dircategory Libraries:
+ @direntry
+-* libRUIN: (libruin). libRUIN, Renderer for User Interfaces in Ncurses
++* libRUIN: (libruin). libRUIN, Renderer for User Interfaces in Ncurses
+ @end direntry
+
+ @titlepage
diff --git a/libruin-make.patch b/libruin-make.patch
new file mode 100644
index 0000000..3479700
--- /dev/null
+++ b/libruin-make.patch
@@ -0,0 +1,24 @@
+--- libruin-0.2.0/examples/Makefile.am.orig 2010-12-31 21:37:15.000000000 +0100
++++ libruin-0.2.0/examples/Makefile.am 2013-07-26 21:47:47.695325332 +0200
+@@ -1,8 +1,9 @@
+ noinst_PROGRAMS = ruinview
+ ruinview_SOURCES = ruinview.c
++ruinview_LDADD = $(top_builddir)/src/libruin.la
+ INCLUDES = -I../src
+
+ AM_CFLAGS = @CFLAGS@ @GUILE_CFLAGS@ @GLIB_CFLAGS@
+-AM_LDFLAGS = @LDFLAGS@ @GUILE_LIBS@ @GLIB_LIBS@ -lruin
++AM_LDFLAGS = @LDFLAGS@ @GUILE_LIBS@ @GLIB_LIBS@
+
+ dist_noinst_DATA = css21-conformance-uris.txt
+--- libruin-0.2.0/src/Makefile.am.orig 2011-09-19 00:21:05.000000000 +0200
++++ libruin-0.2.0/src/Makefile.am 2013-07-26 22:00:16.501960592 +0200
+@@ -1,6 +1,7 @@
+ SUBDIRS = tests
+
+-nobase_dist_pkglib_DATA = scheme/scss/common.scm scheme/scss/lexer.scm \
++pkgdatadir = $(pkglibdir)
++nobase_dist_pkgdata_DATA = scheme/scss/common.scm scheme/scss/lexer.scm \
+ scheme/scss/parser.scm scheme/scss/properties.scm scheme/scss/scss.scm \
+ scheme/scss/interface/sdom.scm \
+ scheme/sdom/common.scm scheme/sdom/core.scm scheme/sdom/events.scm \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libruin.git/commitdiff/2a60975dd5d2480c13a35cd42472f97dc2b75fca
More information about the pld-cvs-commit
mailing list