]> git.pld-linux.org Git - packages/gallery.git/commitdiff
Adapterized.
authorMichal Moskal <michal@moskal.me>
Sat, 18 Nov 2000 13:21:36 +0000 (13:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gallery.spec -> 1.2

gallery.spec

index b85e3a092dc36ae753834e81f8e2de0e7127ecee..0b079cf9844d5fac3c1731893c229eb9f57d9ce6 100644 (file)
@@ -1,38 +1,41 @@
 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.
+Release:       1
+License:       GPL
+Source0:       http://malekith.cnc.pl/bin/%{name}-%{version}.tar.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Summary:       SVGALib JPEG/GIF/PNG/... picture viewer.
 Summary(pl):   Bazowana na SVGALibie przegl±darka do obrazków
 Group:         Applications/Graphics
+Group(de):     Applikationen/Grafik
 Group(pl):     Aplikacje/Grafika
 URL:           http://malekith.topnet.pl/
 BuildRequires: svgalib-devel
 BuildRequires: aalib-devel
+Vendor:                Micha³ Moskal <malekith@pld.org.pl>
 
 %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.
+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.
+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
+%setup -q
 
 %build
 %configure --without-debug --with-gziped-man --with-polish-man --with-aalib
-make
+%{__make}
 
 %install
 
@@ -48,13 +51,13 @@ 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
+%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} -C po install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644, root, root, 755)
+%defattr(644,root,root,755)
 %attr(755, root, root) %{_bindir}/*
 %{_mandir}/man1/*
 %dir %{_libdir}/gallery
@@ -63,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
 %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) %{_datadir}/locale/pl/LC_MESSAGES/gallery.mo
 %lang(pl) %{_mandir}/pl/man1/*
 
 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}.gz
This page took 0.061669 seconds and 4 git commands to generate.