]> git.pld-linux.org Git - packages/Gorm.git/blob - Gorm.spec
- new
[packages/Gorm.git] / Gorm.spec
1 Summary:        Graphic Object Relationship modeler
2 Summary(pl):    Graficzny modeler zale¿no¶ci obiektów
3 Name:           Gorm
4 Version:        0.3.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        ftp://ftp.gnustep.org/pub/gnustep/dev-apps/%{name}-%{version}.tar.gz
9 # Source0-md5:  e28ac65632819d74f7622fc0a628e857
10 BuildRequires:  gnustep-extensions-devel
11 BuildRequires:  gnustep-gui-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _prefix         /usr/lib/GNUstep
15
16 %define         libcombo        gnu-gnu-gnu
17 %define         gsos            linux-gnu
18 %ifarch %{ix86}
19 %define         gscpu           ix86
20 %else
21 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
22 %define         gscpu           %{_target_cpu}
23 %endif
24
25 %description
26 Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
27 GNUstep Object Relationship Modeler). It is a clone of the NeXTstep
28 `Interface Builder' application for GNUstep.
29
30 %description -l pl
31 Gorm to skrót od Graphic Object Relationship modeler (czyli graficzny
32 modeler zale¿no¶ci obiektów). Jest to klon NeXTstepowej aplikacji
33 "Interface Builder" dla GNUstepa.
34
35 %package devel
36 Summary:        Header files for Gorm library
37 Summary(pl):    Pliki nag³ówkowe biblioteki Gorma
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}
40
41 %description devel
42 Header files for Gorm library.
43
44 %description devel -l pl
45 Pliki nag³ówkowe biblioteki Gorma.
46
47 %prep
48 %setup -q
49
50 %build
51 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
52 %{__make} \
53         OPTFLAG="%{rpmcflags}" \
54         messages=yes
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
59
60 %{__make} install \
61         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc ANNOUNCE ChangeLog NEWS README TODO
72
73 %dir %{_prefix}/System/Applications/Gorm.app
74 %attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/Gorm
75 %dir %{_prefix}/System/Applications/Gorm.app/Resources
76 %{_prefix}/System/Applications/Gorm.app/Resources/*.desktop
77 %{_prefix}/System/Applications/Gorm.app/Resources/*.gorm
78 %{_prefix}/System/Applications/Gorm.app/Resources/*.plist
79 %{_prefix}/System/Applications/Gorm.app/Resources/*.tiff
80 %dir %{_prefix}/System/Applications/Gorm.app/Resources/*.palette
81 %{_prefix}/System/Applications/Gorm.app/Resources/*.palette/Resources
82 %attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/Resources/*.palette/%{gscpu}
83 %dir %{_prefix}/System/Applications/Gorm.app/%{gscpu}
84 %dir %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}
85 %dir %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}/%{libcombo}
86 %attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}/%{libcombo}/Gorm
87 %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
88
89 %dir %{_prefix}/System/Applications/GormTest.app
90 %attr(755,root,root) %{_prefix}/System/Applications/GormTest.app/GormTest
91 %{_prefix}/System/Applications/GormTest.app/Resources
92 %dir %{_prefix}/System/Applications/GormTest.app/%{gscpu}
93 %dir %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}
94 %dir %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}/%{libcombo}
95 %attr(755,root,root) %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}/%{libcombo}/GormTest
96 %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
97
98 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %{_prefix}/System/Library/Headers/InterfaceBuilder
103 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so
This page took 0.070734 seconds and 4 git commands to generate.