]> git.pld-linux.org Git - packages/Pantomime.git/blob - Pantomime.spec
- fixed build on amd64, release 3
[packages/Pantomime.git] / Pantomime.spec
1 Summary:        MIME library for GNUstep
2 Summary(pl):    Biblioteka MIME dla ¶rodowiska GNUstep
3 Name:           Pantomime
4 Version:        1.1.2
5 Release:        3
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.collaboration-world.com/pantomime.data/releases/Stable/%{name}-%{version}.tar.gz
9 # Source0-md5:  7070473c8cf4e84945673d43a65cfca8
10 URL:            http://www.collaboration-world.com/pantomime/
11 BuildRequires:  gnustep-gui-devel >= 0.9.1
12 BuildRequires:  openssl-devel >= 0.9.7d
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix         /usr/%{_lib}/GNUstep
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
23 %define         gscpu           %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
24 %endif
25
26 %description
27 MIME library for GNUstep. This framework supports the major mail
28 protocols: POP3, IMAP, and SMTP.
29
30 %description -l pl
31 Biblioteka MIME dla ¶rodowiska GNUstep. Ten szkielet obs³uguje g³ówne
32 protoko³y pocztowe: POP3, IMAP i SMTP.
33
34 %package devel
35 Summary:        Header files for Pantomime library
36 Summary(pl):    Pliki nag³ówkowe biblioteki Pantomime
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       gnustep-gui-devel >= 0.8.8-2
40
41 %description devel
42 Header files for Pantomime library.
43
44 %description devel -l pl
45 Pliki nag³ówkowe biblioteki Pantomime.
46
47 %prep
48 %setup -q -n %{name}
49
50 %build
51 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
52 %{__make} \
53         OPTFLAG="%{rpmcflags}" \
54         messages=yes
55
56 %{__make} -C Bundles/SSL \
57         OPTFLAG="%{rpmcflags} -I../../Headers" \
58         messages=yes
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
63
64 %{__make} install \
65         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
66
67 %{__make} install -C Bundles/SSL \
68         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc ChangeLog README TODO
79 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.*
80
81 %dir %{_prefix}/System/Library/Pantomime
82 %dir %{_prefix}/System/Library/Pantomime/TCPSSLConnection.bundle
83 %{_prefix}/System/Library/Pantomime/TCPSSLConnection.bundle/Resources
84 %attr(755,root,root) %{_prefix}/System/Library/Pantomime/TCPSSLConnection.bundle/%{gscpu}
85
86 %files devel
87 %defattr(644,root,root,755)
88 %{_prefix}/System/Library/Headers/%{libcombo}/Pantomime
89 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so
This page took 0.079708 seconds and 3 git commands to generate.