source: projects/specs/trunk/m/mailx/mailx-vl.spec @ 8067

Revision 8067, 6.8 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary:     The /bin/mail program, which is used to send mail via shell scripts.
2Summary(ja): シェルスクリプトからメールを送る /bin/mail プログラム
3Name:        mailx
4Version:     8.1.1
5Release:     37%{?_dist_release}
6License:     BSD
7Group:       Applications/Internet
8Source:      ftp://ftp.debian.org/pub/debian/hamm/source/mail/mailx-8.1.1.tar.gz
9Source1:     flock.c
10Patch0:      mailx-8.1.1.debian.patch
11Patch1:      mailx-8.1.1.security.patch
12Patch2:      mailx-8.1.1.nolock.patch
13Patch3:      mailx-8.1.1.debian2.patch
14Patch4:      mailx-noroot.patch
15Patch5:      mailx-nopanic.patch
16Patch6:      mailx-nullchar.patch
17Patch7:      mailx-8.1.1-fhs.patch
18Patch8:      mailx-8.1.1-environ.patch
19Patch9:      mailx-8.1.1-siglj.patch
20Patch10:     mailx-8.1.1-bug15728.patch
21Patch11:     mailx-8.1.1-bug10074.patch
22Patch12:     mailx-8.1.1-uidcheck.patch
23Patch13:     mailx-8.1.1-flock.patch
24Patch14:     mailx-8.1.1-nostrip.patch
25Patch15:     mailx-8.1.1-ctime.patch
26# bug fix for environ patch for Vine Linux
27#Patch9:    mailx-fio.patch
28
29BuildRoot:   %{_tmppath}/%{name}-%{version}-root
30
31Vendor: Project Vine
32Distribution: Vine Linux
33
34%description
35The mailx package installs the /bin/mail program, which is used to
36send quick email messages (i.e., without opening up a full-featured
37mail user agent). Mail is often used in shell scripts.
38
39You should install mailx because of its quick email sending ability,
40which is especially useful if you're planning on writing any shell
41scripts.
42
43%description -l ja
44mailx パッケージは /bin/mail プログラムをインストールします.
45/bin/mail は,多機能のメールクライアントを起動すること無く迅速に
46メールを送信するのに使われます./bin/mail はシェルスクリプトから
47よく使われています.
48
49メール送信が関係するシェルスクリプト作成を検討しているのならば,
50迅速なメール送信機能を備えた mailx パッケージを是非インストールして下さい.
51
52
53%prep
54%setup -q
55cp %{SOURCE1} .
56%patch0 -p1 -b .debian
57%patch1 -p1 -b .security
58%patch2 -p1 -b .nolock
59%patch3 -p1 -b .debian2
60%patch4 -p1 -b .noroot
61%patch5 -p1 -b .nopanic
62%patch6 -p1 -b .nullchar
63%patch7 -p1 -b .fhs
64%patch8 -p1 -b .environ
65%patch9 -p1 -b .siglj
66%patch10 -p1 -b .bug15728
67%patch11 -p1 -b .bug10074
68%patch12 -p1 -b .uidcheck
69%patch13 -p1 -b .flock
70%patch14 -p1
71%patch15 -p1
72
73#%patch9 -p0 -b .fio
74
75
76%build
77make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
78
79
80%install
81rm -rf ${RPM_BUILD_ROOT}
82mkdir -p ${RPM_BUILD_ROOT}/{bin,etc}
83mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
84mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib
85mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
86
87make DESTDIR=${RPM_BUILD_ROOT} bindir=%{_bindir} mandir=%{_mandir} install
88
89( cd ${RPM_BUILD_ROOT}
90  mv .%{_bindir}/mail ./bin/mail
91  chmod g-s ./bin/mail
92  ln -sf ../../bin/mail .%{_bindir}/Mail
93  ln -sf mail.1 .%{_mandir}/man1/Mail.1
94)
95
96
97%clean
98rm -rf ${RPM_BUILD_ROOT}
99
100
101%files
102%defattr(-,root,root)
103%attr(755,root,mail)    /bin/mail
104%{_bindir}/Mail
105%{_prefix}/lib/mail.help
106%{_prefix}/lib/mail.tildehelp
107%config(noreplace) /etc/mail.rc
108%{_mandir}/man1/mail.1*
109%{_mandir}/man1/Mail.1*
110
111
112%changelog
113* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.1.1-37
114- rebuild with VineSeed environment
115
116* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 8.1.1-36
117- rebuilt with rpm-4.8.1-3
118
119* Sun Oct 18 2009 Shu KONNO <owa@bg.wakwak.com> 8.1.1-35
120- applied vine5 updates
121        * Wed Sep 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.1.1-35
122        - use %%{_prefix}/lib to build on x86_64
123
124* Tue Sep  8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.1.1-34
125- man files in the wrong location - fixed.
126
127* Tue Aug  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.1.1-33
128- applied new versioning policy
129- spec in UTF-8
130
131* Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 8.1.1-32vl2
132- rebuild to add gpg sign
133
134* Fri Mar 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 8.1.1-32vl1
135- rebuilt with new toolchains
136- s/Copyright/License/
137- added Patch9--Patch15 from Fedora 8.1.1-32
138  * Fri Aug 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
139  - fix include file order #101251
140  * Thu Aug 24 2000 Nalin Dahyabhai <nalin@redhat.com>
141  - clean up flock() usage -- LOCK_EX shouldn't work on read-only descriptors
142  * Mon Aug 21 2000 Nalin Dahyabhai <nalin@redhat.com>
143  - patch to use fcntl() for locking instead of flock() (#15779)
144  - patch to ignore ~/.mailrc if it's owned by anyone other than the owner of
145    this process
146  - clean up flock() emulation semantics
147  * Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
148  - summaries from specspo.
149  * Fri Aug 11 2000 Jeff Johnson <jbj@redhat.com>
150  - time to use sigsetjmp/siglongjmp (#14010).
151  - avoid indexing on NOSTR valued pointer (#15728).
152  - ignore MAIL enviromment variable when invoked with -u (#10074).
153- mailx-fio.patch dropped because it was merged Patch8
154
155* Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
156- 8.1.1-16vl2
157- rebuilt for VineSeed, as well as adding Japanese summary/description
158- define %%{_mandir} on the top of this spec file :-P
159
160* Mon Sep 18 2000 Jun Nishii <jun@vinelinux.org>
161- added fio-patch to fix bug for `mail -f`
162
163* Mon Aug  7 2000 Nalin Dahyabhai <nalin@redhat.com>
164- disable security-prone variables-inherited-from-environment behavior
165- inherit only SHELL, DEAD, PAGER, LISTER, EDITOR, VISUAL, MBOX from environment
166- document the environment variables that are used
167
168* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
169- automatic rebuild
170
171* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
172- noreplace mail.rc
173
174* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
175- FHS packaging.
176
177* Sun May  7 2000 Bill Nottingham <notting@redhat.com>
178- fix explosions on ia64
179
180* Thu Feb 03 2000 Elliot Lee <sopwith@redhat.com>
181- Fix bug #8451
182- Fix bug #8100
183
184* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
185- fix pathnames
186- take out makefile install crud
187
188* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
189- auto rebuild in the new build environment (release 8)
190
191* Thu Aug 27 1998 Alan Cox <alan@redhat.com>
192- Synchronized with the Debian people (more small edge case cures)
193
194* Tue Aug  4 1998 Jeff Johnson <jbj@redhat.com>
195- build root
196
197* Wed Jun 24 1998 Alan Cox <alan@redhat.com>
198- Switched dotlocking off. This fits the Red Hat model of not having setgid
199  mail agents and fixes the "lock" problem reported.
200
201* Mon Jun 22 1998 Alan Cox <alan@redhat.com>
202- Buffer overrun patches. These dont bite us when we don't run mailx setgid
203  but do want to be in as mailx needs to be setgid
204
205* Fri Jun 12 1998 Alan Cox <alan@redhat.com>
206- Moved from 5.5 to the OpenBSD 8.1 release plus Debian patches
207
208* Tue May 05 1998 Prospector System <bugs@redhat.com>
209- translations modified for de, fr, tr
210
211* Tue Oct 21 1997 Donnie Barnes <djb@redhat.com>
212- spec file cleanups
213
214* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
215- built against glibc
Note: See TracBrowser for help on using the repository browser.