]>
Commit | Line | Data |
---|---|---|
ba630f37 JB |
1 | Summary: GNUstep news reader |
2 | Summary(pl): Czytnik news dla GNUstepa | |
7a951e94 | 3 | Name: LuserNET |
4 | Version: 0.4.2 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: X11/Applications | |
8 | Source0: http://w1.423.telia.com/~u42308495/alex/LuserNET/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 3d17d7462a3aba295246362a90db3ea1 | |
10 | Patch0: %{name}-initializeWithArguments.patch | |
ba630f37 | 11 | URL: http://w1.423.telia.com/~u42308495/alex/LuserNET/LuserNET.html |
7a951e94 | 12 | BuildRequires: Pantomime-devel >= 1.1.2-4 |
13 | BuildRequires: gnustep-gui-devel >= 0.9.1 | |
14 | Requires: Pantomime >= 1.1.2-4 | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _prefix /usr/%{_lib}/GNUstep | |
18 | ||
19 | %define libcombo gnu-gnu-gnu | |
20 | %define gsos linux-gnu | |
21 | %ifarch %{ix86} | |
22 | %define gscpu ix86 | |
23 | %else | |
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/') | |
26 | %endif | |
27 | ||
28 | %description | |
ba630f37 | 29 | A GNUstep news reader. |
7a951e94 | 30 | |
fbb3b82e | 31 | %description -l pl |
ba630f37 | 32 | Czytnik news dla GNUstepa. |
fbb3b82e | 33 | |
7a951e94 | 34 | %prep |
35 | %setup -q | |
36 | %patch0 -p1 | |
37 | ||
38 | %build | |
39 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
40 | %{__make} \ | |
41 | OPTFLAG="%{rpmcflags}" \ | |
42 | messages=yes | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
47 | ||
48 | %{__make} install \ | |
49 | GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %post -p /sbin/ldconfig | |
55 | %postun -p /sbin/ldconfig | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc Changes README | |
60 | ||
61 | %dir %{_prefix}/System/Applications/LuserNET.app | |
62 | %attr(755,root,root) %{_prefix}/System/Applications/LuserNET.app/LuserNET | |
ba630f37 JB |
63 | %dir %{_prefix}/System/Applications/LuserNET.app/%{gscpu} |
64 | %dir %{_prefix}/System/Applications/LuserNET.app/%{gscpu}/%{gsos} | |
65 | %dir %{_prefix}/System/Applications/LuserNET.app/%{gscpu}/%{gsos}/%{libcombo} | |
7a951e94 | 66 | %attr(755,root,root) %{_prefix}/System/Applications/LuserNET.app/%{gscpu}/%{gsos}/%{libcombo}/LuserNET |
67 | %{_prefix}/System/Applications/LuserNET.app/%{gscpu}/%{gsos}/%{libcombo}/library_paths.openapp | |
68 | ||
69 | %dir %{_prefix}/System/Applications/LuserNET.app/Resources | |
70 | %{_prefix}/System/Applications/LuserNET.app/Resources/*.desktop | |
71 | %{_prefix}/System/Applications/LuserNET.app/Resources/*.plist | |
72 | %{_prefix}/System/Applications/LuserNET.app/Resources/*.tiff | |
73 | %{_prefix}/System/Applications/LuserNET.app/Resources/English.lproj | |
74 | %lang(fr) %{_prefix}/System/Applications/LuserNET.app/Resources/French.lproj | |
75 | %lang(de) %{_prefix}/System/Applications/LuserNET.app/Resources/German.lproj | |
76 | %lang(es) %{_prefix}/System/Applications/LuserNET.app/Resources/Spanish.lproj | |
77 | %lang(sv) %{_prefix}/System/Applications/LuserNET.app/Resources/Swedish.lproj |