1 Summary: Code Editor for Objective C
2 Summary(pl.UTF-8): 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 Patch0: %{name}-pass-arguments.patch
11 URL: http://www.nongnu.org/codeeditor/
12 BuildRequires: gnustep-gui-devel >= 0.8.7
13 Requires: gnustep-gui >= 0.8.7
14 Requires: %{name}-libs = %{version}-%{release}
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _prefix /usr/%{_lib}/GNUstep
19 %define libcombo gnu-gnu-gnu
20 %define gsos linux-gnu
24 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
25 %define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
27 %define appdir %{_prefix}/System/Applications/CodeEditor.app
28 %define supportdir %{_prefix}/System/Library/ApplicationSupport/CodeEditorView
31 CodeEditor is a programmer's editor and library for GNUstep.
33 %description -l pl.UTF-8
34 CodeEditor jest edytorem programisty i biblioteką dla GNUstepa.
37 Summary: CodeEditorView bundle
38 Summary(pl.UTF-8): Paczka CodeEditorView
39 Group: Development/Tools
42 CodeEditorView bundle for embedding CodeEditor in other apps.
44 %description libs -l pl.UTF-8
45 Paczka CodeEditorView do osadzania CodeEditora w innych aplikacjach.
48 Summary: CodeEditorView bundle headers
49 Summary(pl.UTF-8): Pliki nagłówkowe paczki CodeEditorView
50 Group: Development/Tools
51 Requires: %{name}-libs = %{version}-%{release}
54 CodeEditorView bundle headers.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe paczki CodeEditorView.
60 %setup -q -n CodeEditor
64 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
66 OPTFLAG="%{rpmcflags}" \
70 rm -rf $RPM_BUILD_ROOT
71 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
74 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
83 %attr(755,root,root) %{appdir}/%{name}
84 %dir %{appdir}/Resources
85 %{appdir}/Resources/*.desktop
86 %{appdir}/Resources/*.plist
87 %{appdir}/Resources/*.tiff
88 %{appdir}/Resources/*.gorm
89 %{appdir}/Resources/Scripts
90 %dir %{appdir}/%{gscpu}
91 %dir %{appdir}/%{gscpu}/%{gsos}
92 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
93 %attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
94 %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
97 %defattr(644,root,root,755)
98 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle
99 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}
100 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}/%{gsos}
101 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}/%{gsos}/%{libcombo}
102 %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/%{gscpu}/%{gsos}/%{libcombo}/CodeEditorView
103 %dir %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/Resources
104 %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/Resources/OpenInWorkspace.tiff
105 %{_prefix}/System/Library/Bundles/CodeEditorView.bundle/Resources/Info-gnustep.plist
107 %dir %{supportdir}/ObjCHandler.bundle
108 %dir %{supportdir}/ObjCHandler.bundle/Resources
109 %{supportdir}/ObjCHandler.bundle/Resources/*.plist
110 %dir %{supportdir}/ObjCHandler.bundle/%{gscpu}
111 %dir %{supportdir}/ObjCHandler.bundle/%{gscpu}/%{gsos}
112 %dir %{supportdir}/ObjCHandler.bundle/%{gscpu}/%{gsos}/%{libcombo}
113 %{supportdir}/ObjCHandler.bundle/%{gscpu}/%{gsos}/%{libcombo}/ObjCHandler
116 #%defattr(644,root,root,755)
117 #%{_prefix}/System/Library/Headers/CodeEditorView