]> git.pld-linux.org Git - packages/CodeEditor.git/blame - CodeEditor.spec
- spec cleanup
[packages/CodeEditor.git] / CodeEditor.spec
CommitLineData
07ee3ab6 1Summary: Code Editor for Objective C
2Name: CodeEditor
3Version: 0.4.1
4Release: 1
5License: GPL
6Group: X11/Applications
a9abc1b0 7Source0: http://savannah.nongnu.org/download/codeeditor/CodeEditor.pkg/0.4.1/%{name}-%{version}.tar.gz
07ee3ab6 8# Source0-md5: 4906152cd85fe0bd8b61ae1b17db9323
9URL: http://www.nongnu.org/codeeditor/
10BuildRequires: gnustep-gui-devel >= 0.8.7
11Requires: gnustep-gui >= 0.8.7
a9abc1b0 12Requires: %{name}-libs = %{version}
07ee3ab6 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
07ee3ab6 15%define libcombo gnu-gnu-gnu
16%define gsos linux-gnu
17%ifarch %{ix86}
18%define gscpu ix86
19%else
20# also s/alpha.*/alpha/, but we use only "alpha" arch for now
21%define gscpu %{_target_cpu}
22%endif
99bd5486 23%define appdir %{_libdir}/GNUstep/System/Applications/CodeEditor.app
24%define supportdir %{_libdir}/GNUstep/System/Library/ApplicationSupport/CodeEditorView
07ee3ab6 25
26%description
99bd5486 27This is CodeEditor, a programmer's editor and library for GNUstep
07ee3ab6 28
29%package libs
a9abc1b0 30Summary: CodeEditorView bundle
31Group: Development/Tools
07ee3ab6 32
33%description libs
34CodeEditorView bundle for embedding CodeEditor in other apps
35
36%package devel
a9abc1b0 37Summary: CodeEditorView bundle headers
38Group: Development/Tools
07ee3ab6 39
40%description devel
41CodeEditorView bundle headers
42
43%prep
44%setup -q -n codeeditor
45
46%build
a1de5727 47. %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
07ee3ab6 48%{__make} \
49 OPTFLAG="%{rpmcflags}" \
50 messages=yes
51
52%install
53rm -rf $RPM_BUILD_ROOT
54. %{_prefix}/System/Library/Makefiles/GNUstep.sh
55
56%{__make} install \
a1de5727 57 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
07ee3ab6 58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc README TODO
99bd5486 65%dir %{appdir}
a1de5727 66%attr(755,root,root) %{appdir}/%{name}
99bd5486 67%dir %{appdir}/Resources
68%{appdir}/Resources/*.desktop
69%{appdir}/Resources/*.plist
70%{appdir}/Resources/*.tiff
71%{appdir}/Resources/*.gorm
72%{appdir}/Resources/Scripts
73%dir %{appdir}/%{gscpu}
74%dir %{appdir}/%{gscpu}/%{gsos}
75%dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
a1de5727 76%attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
99bd5486 77%{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
07ee3ab6 78
79%files libs
a9abc1b0 80%defattr(644,root,root,755)
99bd5486 81%dir %{supportdir}/ObjCHandler.bundle
82%{supportdir}/ObjCHandler.bundle/Resources/*.plist
83%{supportdir}/ObjCHandler.bundle/%{gscpu}/%{gsos}/%{libcombo}/ObjCHandler
07ee3ab6 84
85%files devel
a9abc1b0 86%defattr(644,root,root,755)
99bd5486 87%{_libdir}/GNUstep/System/Library/Headers/CodeEditorView/*.h
This page took 0.51883 seconds and 4 git commands to generate.