]> 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 8d0963811aacd0ca51b158ef55f8403dc64ca627..720207f82675effa75e5343af110aa8db11236f7 100644 (file)
@@ -1,23 +1,23 @@
 Summary:       GTKstereograph, an advanced stereogram generator
 Summary(pl):   GTKstereograph, zaawansowany generator stereogramów
 Name:          GTKstereograph
-Version:       0.17a
+Version:       0.18b
 Release:       1
 License:       GPL
 Group:         X11/Applications/Graphics
-Source0:       http://download.sourceforge.net/stereograph/%{name}-%{version}.tar.gz
-Patch0:                %{name}-am_lt.patch
+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: gtk+-devel >= 1.2.0
-BuildRequires: libpng >= 1.0.8
-BuildRequires: zlib-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: gtk+-devel >= 1.2.0
+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
@@ -27,34 +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
 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æ
+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>
-
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-rm -f missing
-libtoolize --copy --force
-aclocal
+%{__aclocal}
 %{__automake}
+%{__autoheader}
 %{__autoconf}
 %configure
-%{__make}
+
+%{__make} \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags}" \
+       LXLIBS="-L/usr/X11R6/%{_lib}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -62,12 +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.028166 seconds and 4 git commands to generate.