]> git.pld-linux.org Git - packages/Pantomime.git/blob - Pantomime.spec
d7f4d0020fde960befc9bd1aab19f4b4fa8c5759
[packages/Pantomime.git] / Pantomime.spec
1 Summary:        MIME library for GNUstep
2 Summary(pl.UTF-8):   Biblioteka MIME dla środowiska GNUstep
3 Name:           Pantomime
4 Version:        1.1.2
5 %define cvs 20040729
6 Release:        5.%{cvs}.2
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.UTF-8
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.UTF-8):   Pliki nagłówkowe biblioteki Pantomime
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       gnustep-gui-devel >= 0.8.8-2
41 Requires:       openssl-devel >= 0.9.7d
42
43 %description devel
44 Header files for Pantomime library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki Pantomime.
48
49 %prep
50 %setup -q -n %{name}
51
52 %build
53 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
54 %{__make} \
55         OPTFLAG="%{rpmcflags}" \
56         messages=yes
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
61
62 %{__make} install \
63         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc ChangeLog README TODO
74 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %{_prefix}/System/Library/Headers/%{libcombo}/Pantomime
79 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so
This page took 0.079137 seconds and 2 git commands to generate.