]> git.pld-linux.org Git - packages/ViewIt.git/commitdiff
- new
authoraredridel <aredridel@pld-linux.org>
Sun, 10 Aug 2003 18:18:22 +0000 (18:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ViewIt.spec -> 1.1

ViewIt.spec [new file with mode: 0644]

diff --git a/ViewIt.spec b/ViewIt.spec
new file mode 100644 (file)
index 0000000..30f5054
--- /dev/null
@@ -0,0 +1,62 @@
+Summary:       Previewer for GNUstep
+Name:          ViewIt
+Version:       0.5
+Release:       1
+License:       GPL
+Group:         X11/Applications/Graphics
+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
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                libcombo        gnu-gnu-gnu
+%define                gsos            linux-gnu
+%ifarch %{ix86}
+%define                gscpu           ix86
+%else
+# 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
+
+%description
+ViewIt, is a simple file previewer application for GNUstep.
+
+%prep
+%setup -q -n %{name}
+
+%build
+. %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
+%{__make} \
+       OPTFLAG="%{rpmcflags}" \
+       messages=yes
+
+%install
+rm -rf $RPM_BUILD_ROOT
+. %{_prefix}/System/Library/Makefiles/GNUstep.sh
+
+%{__make} install \
+       GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog 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
+%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
This page took 0.068191 seconds and 4 git commands to generate.