1 Summary: Code Editor for Objective C
2 Summary(pl): Edytor kodu dla jêzyka Objective C
7 Group: X11/Applications
8 Source0: http://savannah.nongnu.org/download/codeeditor/%{name}-%{version}.tar.gz
9 # Source0-md5: 396cc3b9a51a7f045fe53800c98723e0
10 URL: http://www.nongnu.org/codeeditor/
11 BuildRequires: gnustep-gui-devel >= 0.8.7
12 Requires: gnustep-gui >= 0.8.7
13 Requires: %{name}-libs = %{version}-%{release}
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/%{_lib}/GNUstep
18 %define libcombo gnu-gnu-gnu
19 %define gsos linux-gnu
23 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
24 %define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
26 %define appdir %{_prefix}/System/Applications/CodeEditor.app
27 %define supportdir %{_prefix}/System/Library/ApplicationSupport/CodeEditorView
30 CodeEditor is a programmer's editor and library for GNUstep.
33 CodeEditor jest edytorem programisty i bibliotek± dla GNUstepa.
36 Summary: CodeEditorView bundle
37 Summary(pl): Paczka CodeEditorView
38 Group: Development/Tools
41 CodeEditorView bundle for embedding CodeEditor in other apps.
43 %description libs -l pl
44 Paczka CodeEditorView do osadzania CodeEditora w innych aplikacjach.
47 Summary: CodeEditorView bundle headers
48 Summary(pl): Pliki nag³ówkowe paczki CodeEditorView
49 Group: Development/Tools
50 Requires: %{name}-libs = %{version}-%{release}
53 CodeEditorView bundle headers.
55 %description devel -l pl
56 Pliki nag³ówkowe paczki CodeEditorView.
59 %setup -q -n CodeEditor
62 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
64 OPTFLAG="%{rpmcflags}" \
68 rm -rf $RPM_BUILD_ROOT
69 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
72 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
81 %attr(755,root,root) %{appdir}/%{name}
82 %dir %{appdir}/Resources
83 %{appdir}/Resources/*.desktop
84 %{appdir}/Resources/*.plist
85 %{appdir}/Resources/*.tiff
86 %{appdir}/Resources/*.gorm
87 %{appdir}/Resources/Scripts
88 %dir %{appdir}/%{gscpu}
89 %dir %{appdir}/%{gscpu}/%{gsos}
90 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
91 %attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
92 %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
95 %defattr(644,root,root,755)
96 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle
97 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}
98 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}/%{gsos}
99 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}/%{gsos}/%{libcombo}
100 %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}/%{gsos}/%{libcombo}/CodeEditorView
101 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/Resources
102 %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/Resources/OpenInWorkspace.tiff
103 %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/Resources/Info-gnustep.plist
105 %dir %{supportdir}/ObjCHandler.bundle
106 %dir %{supportdir}/ObjCHandler.bundle/Resources
107 %{supportdir}/ObjCHandler.bundle/Resources/*.plist
108 %dir %{supportdir}/ObjCHandler.bundle/%{gscpu}
109 %dir %{supportdir}/ObjCHandler.bundle/%{gscpu}/%{gsos}
110 %dir %{supportdir}/ObjCHandler.bundle/%{gscpu}/%{gsos}/%{libcombo}
111 %{supportdir}/ObjCHandler.bundle/%{gscpu}/%{gsos}/%{libcombo}/ObjCHandler
114 #%defattr(644,root,root,755)
115 #%{_prefix}/System/Library/Headers/CodeEditorView