Summary: GTKstereograph, an advanced stereogram generator
-Summary(pl): GTKstereograph, zaawansowany generator stereogramów
+Summary(pl.UTF-8): GTKstereograph, zaawansowany generator stereogramów
Name: GTKstereograph
-Version: 0.15a
-Release: 2
+Version: 0.18b
+Release: 1
License: GPL
Group: X11/Applications/Graphics
-Group(de): X11/Applikationen/Grafik
-Group(pl): X11/Aplikacje/Grafika
-Source0: http://home2.ecore.net/januszewski/linux/stereograph/%{name}-%{version}.tar.gz
-Patch0: %{name}-am_lt.patch
-URL: http://home2.ecore.net/januszewski/linux/stereograph.html
+Vendor: Fabian Januszewski <fabian.linux@januszewski.de>
+Source0: http://dl.sourceforge.net/stereograph/%{name}-%{version}.tar.gz
+# Source0-md5: e908e51f16a510275fca656047031130
+Patch0: %{name}-make.patch
+URL: http://stereograph.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gtk+-devel >= 1.2.0
-BuildRequires: libpng >= 1.0.8
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel >= 1.0.8
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-
%description
GTKstereograph is a graphical user interface for the current
stereograph renderer. Stereograph is a stereogram generator. In detail
produces the same output). You do _not_ need any pair of colored
spectacles to regard them - everyone can learn it.
-Authors:
-- -------- Fabian Januszewski <fabian.linux@januszewski.de>
-
-%description -l pl
-GTKstereograph jest graficznym interfejsem u¿ytkownika do aktualnego
-generatora stereogramów. Stereograph jest generatorem stereogramów.
-Dok³adniej jest to pojedyñczych obrazów stereogramowych (SIS). Jest to
-program, który produkuje dwuwymiarowe obrazy, które wydaj± siê byæ
-trójwymiarowe (surely you know the famous works of "The Magic Eye",
+%description -l pl.UTF-8
+GTKstereograph jest graficznym interfejsem użytkownika do aktualnego
+generatora stereogramów. Stereograph jest generatorem stereogramów.
+Dokładniej jest to generator pojedynczych obrazów stereogramowych
+(SIS). Program ten produkuje dwuwymiarowe obrazy, które wydają się być
+trójwymiarowe (surely you know the famous works of "The Magic Eye",
Stereograph produces the same output). NIE potrzebujesz wcale pary
-ró¿nokolorowych okularów, aby to zobaczyæ - (prawie) ka¿dy mo¿e siê
-tego nauczyæ.
-
-Autorzy:
-- -------- Fabian Januszewski <fabian.linux@januszewski.de>
+różnokolorowych okularów, aby to zobaczyć - (prawie) każdy może się
+tego nauczyć.
%prep
%setup -q
%patch0 -p1
%build
-libtoolize -c -f
-aclocal
-automake -a -c
-autoconf
+%{__aclocal}
+%{__automake}
+%{__autoheader}
+%{__autoconf}
%configure
-%{__make}
+
+%{__make} \
+ CC="%{__cc}" \
+ OPT="%{rpmcflags}" \
+ LXLIBS="-L/usr/X11R6/%{_lib}"
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf AUTHORS ChangeLog NEWS README
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/stereograph
%attr(755,root,root) %{_bindir}/GTKstereograph
+%{_datadir}/stereograph
+%{_mandir}/man1/stereograph.1*