]>
Commit | Line | Data |
---|---|---|
aa45d219 | 1 | Summary: Application allowing to "stick little notes" on desktop |
bb762bbe | 2 | Summary(pl.UTF-8): Aplikacja pozwalająca przyklejać małe notatki na pulpicie |
aa45d219 | 3 | Name: Affiche |
dfe9edf7 | 4 | Version: 0.6.0 |
7044ace7 | 5 | Release: 4 |
aa45d219 JB |
6 | License: GPL |
7 | Group: X11/Applications | |
dfe9edf7 JB |
8 | Source0: http://www.collaboration-world.com/affiche.data/releases/Stable/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 6c7ad52544579594b20ca7c86954042e | |
554071d1 | 10 | URL: http://www.collaboration-world.com/affiche/ |
aa45d219 JB |
11 | BuildRequires: gnustep-gui-devel |
12 | Requires: gnustep-gui | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
d93c6cf3 | 15 | %define _prefix /usr/%{_lib}/GNUstep |
aa45d219 JB |
16 | |
17 | %define libcombo gnu-gnu-gnu | |
18 | %define gsos linux-gnu | |
19 | %ifarch %{ix86} | |
20 | %define gscpu ix86 | |
21 | %else | |
22 | # also s/alpha.*/alpha/, but we use only "alpha" arch for now | |
e5fab4ef | 23 | %define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/') |
aa45d219 JB |
24 | %endif |
25 | ||
26 | %description | |
27 | Affiche is a little application that allows people to 'stick little | |
28 | notes' on your desktop. | |
29 | ||
896f964e JR |
30 | %description -l pl.UTF-8 |
31 | Affiche to mała aplikacja pozwalająca użytkownikom przyklejać małe | |
aa45d219 JB |
32 | notatki na pulpicie. |
33 | ||
34 | %prep | |
35 | %setup -q -n %{name} | |
36 | ||
37 | %build | |
38 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
39 | %{__make} \ | |
40 | OPTFLAG="%{rpmcflags}" \ | |
41 | messages=yes | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
46 | ||
47 | %{__make} install \ | |
48 | GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc ChangeLog README TODO | |
56 | %dir %{_prefix}/System/Applications/Affiche.app | |
57 | %attr(755,root,root) %{_prefix}/System/Applications/Affiche.app/Affiche | |
58 | %dir %{_prefix}/System/Applications/Affiche.app/Resources | |
59 | %{_prefix}/System/Applications/Affiche.app/Resources/*.desktop | |
60 | %{_prefix}/System/Applications/Affiche.app/Resources/*.plist | |
61 | %{_prefix}/System/Applications/Affiche.app/Resources/*.tiff | |
62 | %{_prefix}/System/Applications/Affiche.app/Resources/English.lproj | |
dfe9edf7 JB |
63 | %lang(fr) %{_prefix}/System/Applications/Affiche.app/Resources/French.lproj |
64 | %lang(de) %{_prefix}/System/Applications/Affiche.app/Resources/German.lproj | |
e5fab4ef JB |
65 | # ISO-639-2 (not in 639-1) |
66 | %lang(art-lojban) %{_prefix}/System/Applications/Affiche.app/Resources/Lojban.lproj | |
dfe9edf7 JB |
67 | %lang(es) %{_prefix}/System/Applications/Affiche.app/Resources/Spanish.lproj |
68 | %lang(sv) %{_prefix}/System/Applications/Affiche.app/Resources/Swedish.lproj | |
aa45d219 JB |
69 | %dir %{_prefix}/System/Applications/Affiche.app/%{gscpu} |
70 | %dir %{_prefix}/System/Applications/Affiche.app/%{gscpu}/%{gsos} | |
71 | %dir %{_prefix}/System/Applications/Affiche.app/%{gscpu}/%{gsos}/%{libcombo} | |
72 | %attr(755,root,root) %{_prefix}/System/Applications/Affiche.app/%{gscpu}/%{gsos}/%{libcombo}/Affiche | |
73 | %{_prefix}/System/Applications/Affiche.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp |