source: projects/specs/trunk/lib/libe/libedit/libedit-vl.spec @ 8758

Revision 8758, 3.8 KB checked in by Takemikaduchi, 10 years ago (diff)

update or rebuild

Line 
1%define snap 20140620
2
3Summary:        The NetBSD Editline library
4Summary(ja):    NetBSD Editline ライブラリ
5Name:           libedit
6Version:        3.1
7Release:        1.%{snap}%{?_dist_release}
8License:        BSD
9Group:          System Environment/Libraries
10URL:            http://www.thrysoee.dk/editline/
11Source0:        http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
12
13# bz #575383
14Patch1:         libedit-3.0-sigwinch.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17
18BuildRequires:  gawk
19BuildRequires:  ncurses-devel
20
21%description
22Libedit is an autotool- and libtoolized port of the NetBSD Editline library.
23It provides generic line editing, history, and tokenization functions, similar
24to those found in GNU Readline.
25
26%package devel
27Summary:        Development files for %{name}
28Summary(ja):    %{name} の開発ファイル
29Group:          Development/Libraries
30
31Requires:       %{name} = %{version}-%{release}
32Requires:       pkgconfig
33Requires:       ncurses-devel
34
35%description devel
36This package contains development files for %{name}.
37
38%prep
39%setup -q -n %{name}-%{snap}-%{version}
40%patch1 -p1
41
42# Suppress rpmlint error.
43iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
44  --output ChangeLog.utf-8 && mv ChangeLog.utf-8 ./ChangeLog
45
46%build
47%configure --disable-static --enable-widec
48
49# Trying to omit unused direct shared library dependencies leads to
50# undefined non-weak symbols.
51
52make %{?_smp_mflags}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
58find $RPM_BUILD_ROOT -type f -name "*.la" -delete
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%post -p /sbin/ldconfig
64
65%postun -p /sbin/ldconfig
66
67%files
68%defattr(-,root,root,-)
69%doc ChangeLog COPYING THANKS
70%{_libdir}/%{name}.so.*
71
72%files devel
73%defattr(-,root,root,-)
74%doc examples/fileman.c examples/test.c
75%doc %{_mandir}/man3/*
76%doc %{_mandir}/man5/editrc.5*
77%{_includedir}/histedit.h
78%{_libdir}/%{name}.so
79%{_libdir}/pkgconfig/%{name}.pc
80
81%dir %{_includedir}/editline
82%{_includedir}/editline/readline.h
83
84%changelog
85* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1-1.20140620
86- update to 20140620 snap
87
88* Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0-4.20120601
89- update to 20120601 snap
90
91* Sun Jan 16 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0-3.20100424
92- add --enable-widec to support wide-chat/UTF-8
93
94* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0-2.20100424
95- rebuild with rpm-4.8.1 for pkg-config file
96
97* Wed May 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp>  3.0-1.20100424
98- initial build for Vine Linux
99- update to 20100424 snap
100
101* Tue Mar 30 2010 Kamil Dudka <kdudka@redhat.com> 3.0-2.20090923cvs
102- eliminated compile-time warnings
103- fix to not break the read loop on SIGWINCH, patch contributed
104  by Edward Sheldrake (#575383)
105
106* Fri Nov 27 2009 Tom "spot" Callaway <tcallawa@redhat.com> 3.0-1.20090923cvs
107- Update to 3.0 (20090923 snap)
108
109* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-4.20080712cvs
110- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
111
112* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-3.20080712cvs
113- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
114
115* Thu Jan 22 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.11-2.20080712cvs
116- Add ncurses-devel requires to -devel subpackage (BZ#481252)
117
118* Mon Jul 28 2008 Debarshi Ray <rishi@fedoraproject.org> - 2.11-1.20080712cvs
119- Version bump to 20080712-2.11.
120
121* Sat Feb 16 2008 Debarshi Ray <rishi@fedoraproject.org> - 2.10-4.20070831cvs
122- Rebuilding with gcc-4.3 in Rawhide.
123
124* Sun Nov 04 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-3.20070831cvs
125- Removed 'Requires: ncurses-devel'.
126
127* Sat Nov 03 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-2.20070831cvs
128- Changed character encoding of ChangeLog from ISO8859-1 to UTF-8.
129
130* Mon Sep 03 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-1.20070831cvs
131- Initial build. Imported SPEC from Rawhide.
Note: See TracBrowser for help on using the repository browser.