]> git.pld-linux.org Git - packages/Addresses.git/blob - Addresses.spec
- a stab at making go. still NFY.
[packages/Addresses.git] / Addresses.spec
1 Summary:        Contact manager for GNUstep
2 Summary(pl):    Zarz±dca kontaktów dla GNUstepa
3 Name:           Addresses
4 Version:        0.3.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://giesler.biz/bjoern/Downloads/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  426ddc37e11cc09aca78965aace3f91d
10 URL:            http://giesler.biz/bjoern/English/Software.html#Addresses
11 BuildRequires:  gnustep-gui-devel >= 0.8.3
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 Contacts is an address book and address book service for GNUstep apps.
27
28 %description -l pl
29 Contacts to ksi±¿ka adresowa oraz us³uga ksi±¿ki adresowej dla
30 aplikacji GNUstepa.
31
32 %prep
33 %setup -q 
34
35 find . -type d -name CVS | xargs rm -rf
36
37 %build
38 rm -rf $RPM_BUILD_ROOT
39 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
40 TOPDIR="`pwd`"
41 GNUSTEP_LOCAL_ROOT="$RPM_BUILD_DIR/%{_prefix}/lib/GNUstep"
42 for I in AddressesFramework \
43         AddressViewFramework \
44         GNUMailConverter \
45         AddressManager \
46         addresstool; do
47         %{__make} -C "$I" \
48         OPTFLAG="%{rpmcflags}" \
49         debug=no \
50         messages=yes
51         make -C "$I" install GNUSTEP_INSTALLATION_DIR="$RPM_BUILD_DIR/%{_prefix}/lib/GNUstep"
52 done
53
54 %install
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files
63 %defattr(644,root,root,755)
64 %doc TODO Documentation/*.ps
65
66 %dir %{_prefix}/System/Applications/Contacts.app
67 %attr(755,root,root) %{_prefix}/System/Applications/Contacts.app/Contacts
68 %dir %{_prefix}/System/Applications/Contacts.app/Resources
69 %{_prefix}/System/Applications/Contacts.app/Resources/*.desktop
70 %{_prefix}/System/Applications/Contacts.app/Resources/*.plist
71 %{_prefix}/System/Applications/Contacts.app/Resources/*.tiff
72 %{_prefix}/System/Applications/Contacts.app/Resources/*.gorm
73
74 %dir %{_prefix}/System/Applications/Contacts.app/%{gscpu}
75 %dir %{_prefix}/System/Applications/Contacts.app/%{gscpu}/%{gsos}
76 %dir %{_prefix}/System/Applications/Contacts.app/%{gscpu}/%{gsos}/%{libcombo}
77 %attr(755,root,root) %{_prefix}/System/Applications/Contacts.app/%{gscpu}/%{gsos}/%{libcombo}/Contacts
78 %{_prefix}/System/Applications/Contacts.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
This page took 0.029977 seconds and 3 git commands to generate.