]> git.pld-linux.org Git - packages/GTKstereograph.git/blobdiff - GTKstereograph.spec
- tabs in preamle
[packages/GTKstereograph.git] / GTKstereograph.spec
index c11fefe0bd3c88f928a65b62299422be259b960b..611c06939432d24c1b000105dd7276e30d3841ff 100644 (file)
@@ -1,19 +1,23 @@
 Summary:       GTKstereograph, an advanced stereogram generator
+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(pl):     X11/Aplikacje/Grafika
-Source0:       http://home2.ecore.net/januszewski/linux/stereograph/%{name}-%{version}.tar.gz
-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
@@ -23,16 +27,31 @@ produces twodimensional images that seem to be threedimensional
 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.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ć.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
+%{__aclocal}
+%{__automake}
+%{__autoheader}
+%{__autoconf}
 %configure
-%{__make}
+
+%{__make} \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags}" \
+       LXLIBS="-L/usr/X11R6/%{_lib}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -40,9 +59,13 @@ 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*
This page took 0.029314 seconds and 4 git commands to generate.