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