]> git.pld-linux.org Git - packages/Gorm.git/blob - Gorm.spec
2e8aac0c578f978cb47c403e7a1a49a3bc9f4edd
[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/Development/Tools
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 Requires:       gnustep-gui-devel
41
42 %description devel
43 Header files for Gorm library.
44
45 %description devel -l pl
46 Pliki nag³ówkowe biblioteki Gorma.
47
48 %prep
49 %setup -q
50
51 %build
52 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
53 %{__make} \
54         OPTFLAG="%{rpmcflags}" \
55         messages=yes
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
60
61 %{__make} install \
62         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc ANNOUNCE ChangeLog NEWS README TODO
73
74 %dir %{_prefix}/System/Applications/Gorm.app
75 %attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/Gorm
76 %dir %{_prefix}/System/Applications/Gorm.app/Resources
77 %{_prefix}/System/Applications/Gorm.app/Resources/*.desktop
78 %{_prefix}/System/Applications/Gorm.app/Resources/*.gorm
79 %{_prefix}/System/Applications/Gorm.app/Resources/*.plist
80 %{_prefix}/System/Applications/Gorm.app/Resources/*.tiff
81 %dir %{_prefix}/System/Applications/Gorm.app/Resources/*.palette
82 %{_prefix}/System/Applications/Gorm.app/Resources/*.palette/Resources
83 %attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/Resources/*.palette/%{gscpu}
84 %dir %{_prefix}/System/Applications/Gorm.app/%{gscpu}
85 %dir %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}
86 %dir %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}/%{libcombo}
87 %attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}/%{libcombo}/Gorm
88 %{_prefix}/System/Applications/Gorm.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
89
90 %dir %{_prefix}/System/Applications/GormTest.app
91 %attr(755,root,root) %{_prefix}/System/Applications/GormTest.app/GormTest
92 %{_prefix}/System/Applications/GormTest.app/Resources
93 %dir %{_prefix}/System/Applications/GormTest.app/%{gscpu}
94 %dir %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}
95 %dir %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}/%{libcombo}
96 %attr(755,root,root) %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}/%{libcombo}/GormTest
97 %{_prefix}/System/Applications/GormTest.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
98
99 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %{_prefix}/System/Library/Headers/InterfaceBuilder
104 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so
This page took 0.051239 seconds and 2 git commands to generate.