diff --git a/README.md b/README.md index a3caa0d..41624ca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # fbida +Ida is a small and fast image viewer, motif-based. For people who don't want the KDE/GNOME overhead. Some basic editing functions are available too. + diff --git a/fbida-2.10-libgif-5.0.6.patch b/fbida-2.10-libgif-5.0.6.patch new file mode 100644 index 0000000..bfb5b75 --- /dev/null +++ b/fbida-2.10-libgif-5.0.6.patch @@ -0,0 +1,15 @@ +--- fbida-2.10/rd/read-gif.c.orig 2015-05-07 22:39:40.067646355 +0200 ++++ fbida-2.10/rd/read-gif.c 2015-05-07 22:44:03.552467326 +0200 +@@ -12,11 +12,11 @@ + { + fprintf(stderr, "GIF library error: %s\n", GifErrorString(err)); + } ++#define DGifCloseFile(x,e) DGifCloseFile(x) + #else + #define GIF5DATA(x) + #define PrintGifError(e) PrintGifError() + #define DGifOpenFileHandle(x,e) DGifOpenFileHandle(x) +-#define DGifCloseFile(x,e) DGifCloseFile(x) + #endif + + struct gif_state { diff --git a/fbida.spec b/fbida.spec new file mode 100644 index 0000000..10fa10f --- /dev/null +++ b/fbida.spec @@ -0,0 +1,69 @@ +Name: fbida +Version: 2.10 +Release: 1mamba +Summary: A small and fast image viewer, motif-based +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.kraxel.org/blog/linux/fbida/ +Source: https://www.kraxel.org/releases/fbida/fbida-%{version}.tar.gz +Patch0: fbida-2.10-libgif-5.0.6.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXpm-devel +BuildRequires: libXt-devel +BuildRequires: libcurl-devel +BuildRequires: libexif-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgif-devel +BuildRequires: libjpeg-devel +BuildRequires: liblesstif-devel +BuildRequires: libpng-devel +BuildRequires: libsane-backends-devel +BuildRequires: libtiff-devel +BuildRequires: libwebp-devel +BuildRequires: libz-devel +BuildRequires: lirc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Ida is a small and fast image viewer, motif-based. For people who don't want the KDE/GNOME overhead. Some basic editing functions are available too. + +%debug_package + +%prep +%setup -q +%patch0 -p1 + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall prefix=%{_prefix} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sysconfdir}/X11/app-defaults/Ida +%{_bindir}/fbi +%{_bindir}/exiftran +%{_bindir}/fbgs +%{_bindir}/ida +%{_mandir}/man1/exiftran.1* +%{_mandir}/man1/fbgs.1* +%{_mandir}/man1/fbi.1* +%{_mandir}/man1/ida.1* +%doc COPYING + +%changelog +* Thu May 07 2015 Silvan Calarco 2.10-1mamba +- package created using the webbuild interface