1 Summary: Code Editor for Objective C
6 Group: X11/Applications
7 Source0: http://savannah.nongnu.org/download/codeeditor/CodeEditor.pkg/0.4.1/CodeEditor-0.4.1.tar.gz
8 # Source0-md5: 4906152cd85fe0bd8b61ae1b17db9323
9 URL: http://www.nongnu.org/codeeditor/
10 BuildRequires: gnustep-gui-devel >= 0.8.7
11 Requires: gnustep-gui >= 0.8.7
12 Requires: %{name}-libs = %{version}
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _prefix /usr/lib/GNUstep
17 %define libcombo gnu-gnu-gnu
18 %define gsos linux-gnu
22 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
23 %define gscpu %{_target_cpu}
27 This is CodeEditor, a simple image viewer application for GNUstep.
30 To jest CodeEditor - prosta przegl±darka obrazków dla ¶rodowiska
34 Summary: CodeEditorView bundle
35 Group: Development/Tools
38 CodeEditorView bundle for embedding CodeEditor in other apps
41 Summary: CodeEditorView bundle headers
42 Group: Development/Tools
45 CodeEditorView bundle headers
48 %setup -q -n codeeditor
51 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
53 OPTFLAG="%{rpmcflags}" \
57 rm -rf $RPM_BUILD_ROOT
58 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
61 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %dir %{_prefix}/System/Applications/CodeEditor.app
70 %attr(755,root,root) %{_prefix}/System/Applications/CodeEditor.app/CodeEditor
71 %dir %{_prefix}/System/Applications/CodeEditor.app/Resources
72 %{_prefix}/System/Applications/CodeEditor.app/Resources/*.desktop
73 %{_prefix}/System/Applications/CodeEditor.app/Resources/*.plist
74 %{_prefix}/System/Applications/CodeEditor.app/Resources/*.tiff
75 %{_prefix}/System/Applications/CodeEditor.app/Resources/*.gorm
76 %{_prefix}/System/Applications/CodeEditor.app/Resources/Scripts
77 %dir %{_prefix}/System/Applications/CodeEditor.app/%{gscpu}
78 %dir %{_prefix}/System/Applications/CodeEditor.app/%{gscpu}/%{gsos}
79 %dir %{_prefix}/System/Applications/CodeEditor.app/%{gscpu}/%{gsos}/%{libcombo}
80 %attr(755,root,root) %{_prefix}/System/Applications/CodeEditor.app/%{gscpu}/%{gsos}/%{libcombo}/CodeEditor
81 %{_prefix}/System/Applications/CodeEditor.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
84 %dir %{_prefix}/System/Library/ApplicationSupport/CodeEditorView/ObjCHandler.bundle
85 %{_prefix}/System/Library/ApplicationSupport/CodeEditorView/ObjCHandler.bundle/Resources/*.plist
86 %{_prefix}/System/Library/ApplicationSupport/CodeEditorView/ObjCHandler.bundle/%{gscpu}/%{gsos}/%{libcombo}/ObjCHandler
89 %{_prefix}/System/Library/Headers/CodeEditorView/*.h