]> git.pld-linux.org Git - packages/GTKstereograph.git/blobdiff - GTKstereograph.spec
- updated to 0.18b, removed am_lt patch, added make patch
[packages/GTKstereograph.git] / GTKstereograph.spec
index 38d5057ffd555eaeaffeb82e564e57a354115efb..720207f82675effa75e5343af110aa8db11236f7 100644 (file)
@@ -1,19 +1,23 @@
 Summary:       GTKstereograph, an advanced stereogram generator
+Summary(pl):   GTKstereograph, zaawansowany generator stereogramów
 Name:          GTKstereograph
-Version:       0.11a
+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-devel
+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,26 +27,45 @@ 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
+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
 
-make install \
+%{__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.170446 seconds and 4 git commands to generate.