]> git.pld-linux.org Git - packages/libfep.git/commitdiff
- updated to 0.0.9 auto/th/libfep-0.0.9-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 10 Dec 2014 19:20:09 +0000 (20:20 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 10 Dec 2014 19:20:09 +0000 (20:20 +0100)
- removed obsolete gets patch

libfep-gets.patch [deleted file]
libfep.spec

diff --git a/libfep-gets.patch b/libfep-gets.patch
deleted file mode 100644 (file)
index beaa3a2..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- libfep-0.0.8/lib/stdio.in.h.orig   2012-03-29 03:17:35.000000000 +0200
-+++ libfep-0.0.8/lib/stdio.in.h        2012-11-22 18:53:14.053840934 +0100
-@@ -699,25 +699,6 @@
- # endif
- #endif
--#if @GNULIB_GETS@
--# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
--#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
--#   undef gets
--#   define gets rpl_gets
--#  endif
--_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
--_GL_CXXALIAS_RPL (gets, char *, (char *s));
--# else
--_GL_CXXALIAS_SYS (gets, char *, (char *s));
--#  undef gets
--# endif
--_GL_CXXALIASWARN (gets);
--/* It is very rare that the developer ever has full control of stdin,
--   so any use of gets warrants an unconditional warning.  Assume it is
--   always declared, since it is required by C89.  */
--_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
--#endif
--
- #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
- struct obstack;
index 18e00828b0eb0a1cf56d9034df3a8a3ce2967a1f..90e305c49ef30a5c13f0a1aa32a9df404e0d810f 100644 (file)
@@ -6,17 +6,19 @@
 Summary:       Library to implement FEP (front end processor) on ANSI terminals
 Summary(pl.UTF-8):     Biblioteka do implementacji FEP (procesorów frontendowych) na terminalach ANSI
 Name:          libfep
-Version:       0.0.8
-Release:       2
+Version:       0.0.9
+Release:       1
 License:       GPL v3+
 Group:         Libraries
 #Source0Download: https://github.com/ueno/libfep/downloads
 Source0:       https://github.com/downloads/ueno/libfep/%{name}-%{version}.tar.gz
-# Source0-md5: a360b049822506c53e9243d9e0a3f879
-Patch0:                %{name}-gets.patch
+# Source0-md5: ab0dbc87b619e02e0f52a5818ff030ad
 URL:           https://github.com/ueno/libfep/
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
 BuildRequires: glib2-devel >= 2.0
 BuildRequires: gobject-introspection-devel >= 0.9.0
+BuildRequires: libtool >= 2:2
 BuildRequires: pkgconfig
 BuildRequires: pkgconfig(ncurses)
 BuildRequires: gtk-doc >= 1.14
@@ -92,9 +94,19 @@ Dokumentacja API biblioteki libfep.
 
 %prep
 %setup -q
-%patch0 -p1
+
+# force rebuild
+%{__rm} docs/libfep/*.txt docs/libfep-glib/*.txt
 
 %build
+# must rebuild libtool because included one uses Debian's link_all_deplibs=no
+# patch, which cases g-ir-scanner to fail on libfep-glib when older libfep is
+# installed on build host
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        %{?with_apidocs:--enable-gtk-doc} \
        %{?with_static_libs:--enable-static} \
This page took 0.739156 seconds and 4 git commands to generate.