]> git.pld-linux.org Git - packages/gallery.git/commitdiff
First upload of my viewer...
authorMichal Moskal <michal@moskal.me>
Tue, 4 Jul 2000 14:05:13 +0000 (14:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gallery.spec -> 1.1

gallery.spec [new file with mode: 0644]

diff --git a/gallery.spec b/gallery.spec
new file mode 100644 (file)
index 0000000..b85e3a0
--- /dev/null
@@ -0,0 +1,70 @@
+Name:          gallery
+Version:       3.0
+Release:       0
+Copyright:     GPL
+Source:        http://malekith.cnc.pl/bin/%{name}-%{version}.tar.gz
+BuildRoot:     /tmp/%{name}-%{version}-root
+Summary:       SVGALib JPEG/GIF/PNG/... picture viewer.
+Summary(pl):   Bazowana na SVGALibie przegl±darka do obrazków
+Group:         Applications/Graphics
+Group(pl):     Aplikacje/Grafika
+URL:           http://malekith.topnet.pl/
+BuildRequires: svgalib-devel
+BuildRequires: aalib-devel
+
+%description
+Picture viewer for several gfx formats (PNG, GIF, JPEG, TIFF, PCX, XPM,
+BMP, P?M, IFF-{IL,P}BM and othres). No X supported nor needed.  
+Feauters include scaling, quantizing, sliedeshows and a *lot* of useless
+options. Even mouse is supported, it can be used for scaling and
+scrolling. Gallery can also display images in text-mode, using aalib.
+
+%description -l pl
+Przegl±darka do obrazków w sporej liczbie formatów formatach (PNG, GIF,
+JPEG, TIFF, PCX, XPM, BMP, P?M, IFF-{IL,P}BM i inne). ¯adnych Xów. Obrazki
+mo¿na skalowaæ, kwantyzowaæ, robiæ slideshowy i wiele innych bezsensownych
+rzeczy. Gallery obs³uguje mysz. Mo¿e równie¿ wy¶wietlaæ obrazki
+w trybie textowym u¿ywaj±c aaliba.
+
+
+%prep
+%setup
+
+%build
+%configure --without-debug --with-gziped-man --with-polish-man --with-aalib
+make
+
+%install
+
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT%{_mandir}/pl/man1
+install doc/gallery.man.gz $RPM_BUILD_ROOT%{_mandir}/man1/gallery.1.gz
+install doc/gallery-pl.man.gz $RPM_BUILD_ROOT%{_mandir}/pl/man1/gallery.1.gz
+gzip -9nf doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS} \
+       doc/{README,README.pl,TODO}
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -m 755 src/gallery $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_libdir}/gallery
+install lib/* $RPM_BUILD_ROOT%{_libdir}/gallery
+rm -f $RPM_BUILD_ROOT%{_libdir}/gallery/Makefile*
+make prefix=$RPM_BUILD_ROOT/usr -C po install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644, root, root, 755)
+%attr(755, root, root) %{_bindir}/*
+%{_mandir}/man1/*
+%dir %{_libdir}/gallery
+%{_libdir}/gallery/message.jpg
+%attr(755, root, root) %{_libdir}/gallery/config-lynx
+%attr(755, root, root) %{_libdir}/gallery/gallery-bugreport
+%attr(755, root, root) %{_libdir}/gallery/lsd
+
+%lang(pl) /usr/share/locale/pl/LC_MESSAGES/gallery.mo
+%lang(pl) %{_mandir}/pl/man1/*
+
+%doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}.gz
+%doc %lang(pl) doc/README.pl.gz
This page took 0.055487 seconds and 4 git commands to generate.