]> git.pld-linux.org Git - packages/ViewIt.git/blobdiff - ViewIt.spec
- typo
[packages/ViewIt.git] / ViewIt.spec
index a6a34fc75edeb58e8a7407d97032849932fe5970..5d7d2066e86f31e25156dd5ed4e67fff53254b81 100644 (file)
@@ -1,4 +1,5 @@
 Summary:       Previewer for GNUstep
+Summary(pl):   Program do podgl±dania plików dla GNUstepa
 Name:          ViewIt
 Version:       0.5
 Release:       1
@@ -9,6 +10,7 @@ Source0:       http://mac.wms-network.de/gnustep/viewit/%{name}-%{version}.tar.gz
 URL:           http://mac.wms-network.de/gnustep/viewit/viewit.html
 BuildRequires: gnustep-gui-devel >= 0.8.7
 Requires:      gnustep-gui >= 0.8.7
+Requires:      ghotscript
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                libcombo        gnu-gnu-gnu
@@ -19,11 +21,14 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
 %define                gscpu           %{_target_cpu}
 %endif
-%define appdir     %{_libdir}/GNUstep/System/Applications/CodeEditor.app
-%define supportdir %{_libdir}/GNUstep/System/Library/ApplicationSupport/CodeEditorView
+%define                appdir  %{_libdir}/GNUstep/System/Applications/%{name}.app
 
 %description
-ViewIt, is a simple file previewer application for GNUstep.
+ViewIt is a simple file previewer application for GNUstep.
+
+%description -l pl
+ViewIt jest prost± aplikacj± do podgl±dania plików przeznaczon± dla
+GNUstepa.
 
 %prep
 %setup -q -n %{name}
@@ -36,7 +41,7 @@ ViewIt, is a simple file previewer application for GNUstep.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-. %{_prefix}/System/Library/Makefiles/GNUstep.sh
+. %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
 
 %{__make} install \
        GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
@@ -46,18 +51,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
+%doc README
 %dir %{appdir}
 %attr(755,root,root) %{appdir}/%{name}
-%dir %{_prefix}/System/Applications/ImageViewer.app/Resources
 %dir %{appdir}/Resources
 %{appdir}/Resources/*.desktop
 %{appdir}/Resources/*.plist
 %{appdir}/Resources/*.tiff
 %{appdir}/Resources/*.gorm
-%{appdir}/Resources/Scripts
+#%{appdir}/Resources/Scripts
 %dir %{appdir}/%{gscpu}
 %dir %{appdir}/%{gscpu}/%{gsos}
 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
 %attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
 %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
+%attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/*
This page took 0.054975 seconds and 4 git commands to generate.