]> git.pld-linux.org Git - packages/Pantomime.git/blob - Pantomime.spec
- up to CVS from 2004-07-29
[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 %define cvs 20040729
6 Release:        4.%{cvs}.1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        %{name}-cvs-%{cvs}.tar.gz
10 # Source0-md5:  2aa6d2c62181e194c7bf632b720f3fc6
11 URL:            http://www.collaboration-world.com/pantomime/
12 BuildRequires:  gnustep-gui-devel >= 0.9.1
13 BuildRequires:  openssl-devel >= 0.9.7d
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           %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
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}-%{release}
40 Requires:       gnustep-gui-devel >= 0.8.8-2
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
51 %build
52 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
53 %{__make} \
54         OPTFLAG="%{rpmcflags}" \
55         messages=yes
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
60
61 %{__make} install \
62         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc ChangeLog README TODO
73 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %{_prefix}/System/Library/Headers/%{libcombo}/Pantomime
78 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so
This page took 0.266456 seconds and 3 git commands to generate.