File: libtinymail.spec.in

package info (click to toggle)
libtinymail 0.0.9-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,148 kB
  • ctags: 19,175
  • sloc: ansic: 151,565; xml: 20,145; sh: 9,245; makefile: 2,394; cs: 243; cpp: 141; python: 93; perl: 71
file content (117 lines) | stat: -rw-r--r-- 2,861 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
%define suse %(if [ -e /etc/SuSE-release ]; then echo 1; else echo 0; fi;)
%define redhat %(if [ -e /etc/redhat-release ]; then echo 1; else echo 0; fi;)
%define debian %(if [ -e /etc/debian_version ]; then echo 1; else echo 0; fi;)
%define mdk %(if [ -e /etc/mandrake-release ]; then echo 1; else echo 0; fi;)
%define conectiva %(if [ -e /etc/conectiva-release ]; then echo 1; else echo 0; fi;)

Name:           @PACKAGE_NAME@
Version:        @VERSION@
Release:        0
Summary:        Tinymail e-mail library and development framework
Group:          System/Libraries
Vendor:         Pvanhoof
Distribution:   Neutral
Packager:       Philip Van Hoof
URL:            http://www.pvanhoof.be/
Source:         @PACKAGE_NAME@-%{version}.tar.gz
License:        LGPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Prefix:         /usr/local
PreReq:         /sbin/ldconfig

%if %{suse} || %{mdk} || %{redhat} || %{connectivia}

### Unfinished ##

BuildRequires:  make
BuildRequires:  gcc
BuildRequires:	pkgconfig

### Unfinished ##

%endif

%if %{debian}
Requires:	libglib2.0-0
Requires:	firefox
Requires:	libcamel1.2-8
Requires:	libgnome-vfs0
Requires:	python-gtk2
Requires:	libgnomeui-0

BuildRequires:  make
BuildRequires:  gcc
BuildRequires:	pkg-config
BuildRequires:	libcamel1.2-dev
BuildRequires:	firefox-dev
BuildRequires:	libglib2.0-0-dev
BuildRequires:	libgnome-vfs-dev
BuildRequires:	python-gtk2-dev
BuildRequires:	libgnomeui-dev
%endif

%description
Tinymail e-mail library and development framework

%package devel
Summary:        Devel package for libtinymail
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
### Unfinished ##
libtinymail header files

%prep
%setup -q

%build
%configure \
	--prefix=%{_prefix} \
	--bindir=%{_bindir} \
	--sbindir=%{_sbindir} \
	--libexecdir=%{_libexecdir} \
	--libdir=%{_libdir} \
	--datadir=%{_datadir} \
	--sysconfdir=%{_sysconfdir} \
	--sharedstatedir=%{_sharedstatedir} \
	--localstatedir=%{_localstatedir} \
	--libdir=%{_libdir} \
	--includedir=%{_includedir} \
	--oldincludedir=%{_oldincludedir} \
	--infodir=%{_infodir} \
	--mandir=%{_mandir}

make clean
make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall prefix=%{buildroot}

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la

%files devel
%defattr(-,root,root)
%{_includedir}/libtinymail-1.0
%{_includedir}/libtinymail-camel-1.0
%{_includedir}/libtinymail-gnome-desktop-1.0
%{_includedir}/libtinymail-gnomevfs-1.0
%{_includedir}/libtinymailui-1.0
%{_includedir}/libtinymailui-gtk-1.0
%{_includedir}/libtinymailui-mozembed-1.0
%{_libdir}/pkgconfig/*.pc

%changelog
* Tue May 16 2006 Philip Van Hoof <pvanhoof@gnome.org>
- Initial version