]>
Commit | Line | Data |
---|---|---|
9d1c22ba | 1 | Summary: IRC for GNUstep |
2 | Summary(pl): Program do IRC dla GNUstepa | |
3 | Name: TalkSoup | |
4 | Version: 0.81 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: X11/Applications/Graphics | |
8 | Source0: http://www.linuks.mine.nu/andy/files/talksoup/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 5b0671a5d6ea227ba0ccef495052763e | |
10 | URL: http://www.linuks.mine.nu/andy/talksoup/ | |
11 | BuildRequires: gnustep-gui-devel >= 0.8.7 | |
12 | Requires: gnustep-gui >= 0.8.7 | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
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 | |
23 | %define gstriple %{gscpu}/%{gsos}/%{libcombo} | |
24 | %define appdir %{_libdir}/GNUstep/System/Applications/%{name}.app | |
25 | %define supportdir %{_libdir}/GNUstep/System/Library/ApplicationSupport/%{name} | |
26 | ||
27 | %description | |
28 | TalkSoup is a simple IRC client for GNUstep. | |
29 | ||
30 | %package devel | |
31 | Group: Development/Libraries | |
32 | Summary: Headers and Framework for IRC apps | |
33 | ||
34 | %description devel | |
35 | TalkSoup framework and headers for IRC apps | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh | |
42 | %{__make} \ | |
43 | OPTFLAG="%{rpmcflags}" \ | |
44 | messages=yes | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh | |
49 | ||
50 | %{__make} install \ | |
51 | GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc README | |
59 | %dir %{appdir} | |
60 | %dir %{supportdir} | |
61 | %attr(755,root,root) %{supportdir}/*/*/%{gstriple}/* | |
62 | %attr(644,root,root) %{supportdir}/*/*/Resources/* | |
63 | %attr(755,root,root) %{appdir}/%{name} | |
64 | %dir %{appdir}/Resources | |
65 | %{appdir}/Resources/*.desktop | |
66 | %{appdir}/Resources/*.plist | |
67 | %{appdir}/Resources/English.lproj | |
68 | #%{appdir}/Resources/Scripts | |
69 | %dir %{appdir}/%{gscpu} | |
70 | %dir %{appdir}/%{gscpu}/%{gsos} | |
71 | %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo} | |
72 | %attr(755,root,root) %{appdir}/%{gstriple}/%{name} | |
73 | %{appdir}/%{gstriple}/*.openapp | |
74 | %attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/%{gstriple}/* | |
75 | ||
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
78 | %{_libdir}/GNUstep/System/Library/Headers/* | |
79 | %{_libdir}/GNUstep/System/Library/Frameworks/* |