source: projects/specs/branches/6/d/dos2unix/dos2unix-vl.spec @ 1765

Revision 1765, 6.1 KB checked in by inagaki, 14 years ago (diff)

NEW: dos2unix
update: libgdata, moonlight

Line 
1Name: dos2unix
2Summary: Text file format converters
3Summary(ja): テキストファイルのフォーマット変換ツール
4Version: 5.1.1
5Release: 2%{?_dist_release}
6
7Group: Applications/Text
8License: BSD
9URL: http://www.xs4all.nl/~waterlan/dos2unix.html
10
11Source0: http://www.xs4all.nl/~waterlan/dos2unix/%{name}-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: gettext
15
16Provides: unix2dos = %{version}-%{release}
17Obsoletes: unix2dos < 5.1-1
18
19%description
20Convert text files with DOS or Mac line endings to Unix line endings and
21vice versa.
22
23%description -l ja
24テキストファイル中の行末記号(LF)を DOS/Mac と Unix との間で相互に変換するためのツールです.
25
26%prep
27%setup -q
28rm -rf po/*/eo-x.*
29
30%build
31make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \
32  %{?_smp_mflags}
33
34%install
35make DESTDIR=$RPM_BUILD_ROOT install
36
37# We add doc files manually to %%doc
38rm -rf $RPM_BUILD_ROOT%{_docdir}
39
40%find_lang %{name} --with-man --all-name
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files -f %{name}.lang
46%defattr(-,root,root,0755)
47%doc dos2unix.htm  ChangeLog.txt COPYING.txt
48%doc NEWS.txt README.txt TODO.txt
49%{_bindir}/dos2unix
50%{_bindir}/mac2unix
51%{_bindir}/unix2dos
52%{_bindir}/unix2mac
53%{_mandir}/man1/*.1*
54
55
56%changelog
57* Sat Sep  4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.1-2
58- Initial build for Vine Linux
59
60* Thu Aug 19 2010 Chen Lei <supercyper@163.com> 5.1.1-1
61- Update to 5.1.1
62
63* Wed Aug 18 2010 Tim Waugh <twaugh@redhat.com> 5.1-1
64- Applied changes from Chen Lei (bug #592922):
65  * Sun Aug 15 2010 Chen Lei <supercyper1@gmail.com> 5.1-1
66  - 5.1.
67  - Update spec to match latest guidelines w.r.t buildroot tag
68
69* Tue Jan 26 2010 Tim Waugh <twaugh@redhat.com> 4.1.2-1
70- 4.1.2.
71
72* Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 4.1.1-1
73- 4.1.1.  New upstream.
74
75* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-36
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
77
78* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-35
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
80
81* Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 3.1-34
82- Moved 'make clean' to prep section and added comment about there
83  being no upstream (bug #225706).
84
85* Mon Sep  8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
86- Preserve file modes (bug #437465).
87- Fixed manpage grammar (bug #460731).
88
89* Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
90- Adjust license tag (bug #225706).
91- Fix missing prototype (bug #225706).
92- Install copy as symbolic links (bug #225706).
93
94* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 3.1-31
95- Rebuild for GCC 4.3.
96
97* Fri Jan 18 2008 Tim Waugh <twaugh@redhat.com> 3.1-30
98- Applied patch from bug #292100 to fix segfault with missing -c argument.
99
100* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 3.1-29
101- Rebuild.
102
103* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 3.1-28
104- Fixed build root (bug #225706).
105- Build with SMP flags (bug #225706).
106- Use dist in release tag (bug #225706).
107- Fixed macros in changelog (bug #225706).
108- Preserve timestamps when using install (bug #225706).
109
110* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-27.1
111- rebuild
112
113* Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-27
114- Re-encoded spec file in UTF-8 (bug #197817).
115
116* Mon Jun  5 2006 Tim Waugh <twaugh@redhat.com> 3.1-26
117- Rebuilt.
118
119* Thu Jun  1 2006 Tim Waugh <twaugh@redhat.com> 3.1-25
120- Build with large file support.
121
122* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2.1
123- bump again for double-long bug on ppc(64)
124
125* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2
126- rebuilt for new gcc4.1 snapshot and glibc changes
127
128* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
129- rebuilt
130
131* Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com> 3.1-24
132- Fixed tmppath patch (bug #150277).
133
134* Thu Mar  3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
135- Bump and rebuild for FC4, using gcc 4.
136
137* Tue Feb  8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
138- Bump and rebuild for FC4
139
140* Wed Oct 20 2004 Miloslav Trmac <mitr@redhat.com> - 3.1-21
141- Don't just delete the original file when destination and current directory
142  are on different filesystems (#65548, #123069, patch by James Antill)
143- Fix return type of StripDelimiter in dos2unix-3.1-safeconv.patch (#136148)
144
145* Wed Oct  6 2004 Mike A. Harris <mharris@redhat.com> 3.1-20
146- Added dos2unix-3.1-manpage-update-57507.patch to fix manpage (#57507)
147- Added dos2unix-3.1-preserve-file-modes.patch to properly preserve file
148  permissions (#91331,55183,112710,132145)
149
150* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.1-19
151- safer conversion w/ mac2unix (fix from bz #57508)
152
153* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
154- rebuilt
155
156* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
157- rebuilt
158
159* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
160- rebuilt
161
162* Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
163- Remove build dependency on perl, since perl BuildRequires: dos2unix,
164  and there's no good reason not to just use sed here.
165
166* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
167- rebuilt
168
169* Mon Oct  7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
170- All-arch rebuild
171- Added BuildRequires: perl
172
173* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
174- automated rebuild
175
176* Thu May 23 2002 Tim Powers <timp@redhat.com>
177- automated rebuild
178
179* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1-10
180- Build in new environment
181
182* Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
183- Fix bug #57700 (segfault)
184- Add the mac2unix symlink recommended in README
185- Fix compiler warnings
186
187* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
188- automated rebuild
189
190* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
191- Bump release + rebuild.
192
193* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
194- shut up rpmlint
195
196* Fri Nov 17 2000 Tim Powers <timp@redhat.com>
197- use mkstemp instead of mktemp. Not much needed to change.
198
199* Thu Nov 16 2000 Tim Powers <timp@redhat.com>
200- cleaned up specfile a bit
201- built for 7.1
202
203* Tue Jul 07 1999 Peter Soos <sp@osb.hu>
204- Added Hungarian "Summary:" and "%%description"
205- Corrected the file and directory attributes to rebuild the package
206  under RedHat Linux 6.0
Note: See TracBrowser for help on using the repository browser.