source: projects/specs/trunk/lib/libm/libmilter/libmilter-vl.spec @ 12493

Revision 12493, 2.2 KB checked in by tomop, 2 years ago (diff)

updated 2 packages

clamav-0.103.0-1

libmilter-8.16.1-1

Line 
1Summary:        A shared libraries for milters
2Summary(ja):    milterのための共有ライブラリ
3Name:           libmilter
4Version:        8.16.1
5Release:        1%{?_dist_release}
6Group:          system
7Vendor:         Project Vine
8Distribution:   Vine Linux
9
10License:        Sendmail
11URL:            https://www.proofpoint.com/us/open-source-email-solution
12Source0:        ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{version}.tar.gz
13Patch0:         sendmail-8.14.3-sharedmilter.patch
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16%global objdir  obj.Linux.%(uname -r).%(uname -m)
17
18%description
19The %{name} package provides a shared library for milters.
20
21%description -l ja
22%{name} パッケージは、milterに必要な共有ライブラリを提供します。
23
24
25%package        devel
26Summary:        headers and libraries to develop milters
27Summary(ja):    milter開発に必要なヘッダ・ライブラリ
28Group:          programming
29Requires:       %{name} = %{version}-%{release}
30Conflicts:      sendmail-devel
31
32%description devel
33This package contains headers and libraries to develop milters.
34
35%description devel -l ja
36このパッケージは、milter開発に必要なヘッダ・ライブラリを含んでいます。
37
38
39%debug_package
40
41
42%prep
43%setup -q -n sendmail-%{version}
44
45cp devtools/M4/UNIX/{,shared}library.m4
46%patch0 -p1 -b .sharedmilter
47
48
49%build
50cd libmilter
51./Build -c
52
53
54%install
55rm -rf %{buildroot}
56mkdir -p %{buildroot}%{_libdir}
57mkdir -p %{buildroot}%{_includedir}/libmilter
58
59install -m644 include/libmilter/mfapi.h %{buildroot}%{_includedir}/libmilter/
60install -m644 include/libmilter/mfdef.h %{buildroot}%{_includedir}/libmilter/
61
62install -m755 %{objdir}/libmilter/libmilter.so.* %{buildroot}%{_libdir}/
63
64pushd %{buildroot}%{_libdir}
65for f in libmilter.so.*; do
66        ln -sf $f $(echo $f | sed -e 's/\.[0-9]*$//')
67        ln -sf $f libmilter.so
68done
69popd
70
71%clean
72rm -rf %{buildroot}
73
74
75%post
76/sbin/ldconfig
77
78%postun
79/sbin/ldconfig
80
81
82%files
83%{_libdir}/libmilter.so.*
84
85
86%files devel
87%{_libdir}/libmilter.so
88%{_includedir}/libmilter
89
90
91%changelog
92* Tue Sep 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.16.1-1
93- new upstream release.
94
95* Sat Oct 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.15.2-1
96- initial build.
Note: See TracBrowser for help on using the repository browser.