source: projects/specs/trunk/m/mc/mc-vl.spec @ 4878

Revision 4878, 6.1 KB checked in by Takemikaduchi, 13 years ago (diff)

mc: new upstream release
json-c,orc: create compat32 sub package
pywebkitgtk: rebuild with WebKit?-1.6

Line 
1# Note that this is NOT a relocatable package
2%define ver     4.7.5.5
3%define rel     1%{?_dist_release}
4
5Summary:        A user-friendly file manager and visual shell.
6Summary(ja):    ユーザ・フレンドリーなファイル・マネージャおよびビジュアル・シェル
7Name:           mc
8Version:        %{ver}
9Release:        %{rel}
10LICENSE:        GPL
11Group:          System Environment/Shells
12URL:            http://www.midnight-commander.org/
13BuildRoot:      %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
14
15BuildRequires:  bison
16BuildRequires:  glib2-devel
17BuildRequires:  slang-devel
18BuildRequires:  libX11-devel
19BuildRequires:  gpm-devel
20BuildRequires:  groff
21
22Source0:        http://www.midnight-commander.org/downloads/%{name}-%{ver}.tar.bz2
23
24# patch from fedora
25Patch0:         mc-mcviewsegfault.patch
26
27Obsoletes:      mcserv < 4.7.4
28Obsoletes:      gmc < 4.7.4
29
30%description
31Midnight Commander is a visual shell much like a file manager, only
32with many more features.  It is a text mode application, but it also
33includes mouse support if you are running GPM. Midnight Commander's
34coolest features are its abilities to FTP, view tar and zip files, and
35to poke into RPMs for specific files.
36
37%description -l ja
38Midnight Commanderは単に多くの機能を持つ、まさにファイル・マ
39ネージャとしてのビジュアル・シェルです。これはテキスト・モー
40ドで動くアプリケーションですが、GPMを動かしている場合、マウス
41もサポートしています。Midnight Commanderの最もクールな機能は、
42FTP、Tarや ZIP、およびRPM内の特定のファイルへアクセスできるこ
43とです。
44
45%prep
46%setup -q
47%patch0 -p1 -b .segfault
48
49%build
50%configure \
51        --with-samba \
52        --with-gnome \
53        --without-debug \
54        --with-included-slang
55
56make
57
58%install
59[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,profile.d,X11/wmconfig}
61
62%makeinstall
63install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
64install contrib/mc.*sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
65
66%find_lang %name
67
68%clean
69[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
70
71%files -f %{name}.lang
72%defattr(-, root, root)
73
74%doc COPYING NEWS README
75%{_bindir}/mc
76%{_bindir}/mcedit
77#%{_bindir}/mcmfmt
78%{_bindir}/mcdiff
79%{_bindir}/mcview
80%{_mandir}/man1/*
81%{_libexecdir}/mc/*
82%{_datadir}/mc/*
83%{_sysconfdir}/profile.d/*
84#%config %{_sysconfdir}/mc/Syntax
85#%config %{_sysconfdir}/mc/mc.charsets
86#%config %{_sysconfdir}/mc/mc.lib
87%config(noreplace) %{_sysconfdir}/mc/mc.ext
88%config(noreplace) %{_sysconfdir}/mc/*edit*
89%config(noreplace) %{_sysconfdir}/mc/mc.keymap*
90%config(noreplace) %{_sysconfdir}/mc/mc.menu*
91%config(noreplace) %{_sysconfdir}/mc/*.ini
92
93%changelog
94* Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.5.5-1
95- new upstream release
96
97* Thu Dec 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.5-1
98- new upstream release
99- fix %%files
100
101* Wed Nov 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-1
102- new upstream release
103- fix all BuildRequires and Requires
104- fix URL
105- remove all old patches
106- add Patch0(mc-mcviewsegfault.patch)
107- remove mcserv and gmc package
108- fix %install and %files
109
110* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.5.54-0vl4
111- rebuilt with db4-4.2.52
112
113* Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.54-0vl3
114- merged with Vine26 package.
115  * Wed Nov 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.54-0vl2
116  - add Patch107 to fix open_new_terminal on desktop
117
118* Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.5.54-0vl2
119- rebuilt against gnome-libs-1.4.2-0vl2 (for db1/db4 matters)
120- modified Patch104 to meet glibc-devel >= 2.2.x
121
122* Tue May  8 2001 Akira TAGOH <tagoh@gnome.gr.jp> 4.5.54-0vl1
123- New upstream release.
124
125* Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 4.5.52-0vl1
126- New upstream release.
127- Use rpmmacros.
128- Added some RH bug fix patch.
129
130* Sun Dec 24 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
131- 4.5.50-0vl4
132- rebuilt with ncurses5
133- use better macros
134
135* Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org> [0vl3]
136- add 8bit_clean patch to view/edit Japanese chars
137
138* Fri Jun 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
139- clean up vine-extend patch.
140- modified ja.po for 4.5.50
141
142* Fri Jun  9 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
143- modified vine-extend patch about icon layout.
144
145* Wed Jun  7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
146- updated to 4.5.50
147
148* Tue May 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
149- updated to 4.5.46
150
151* Wed May  3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
152- fixed vine-extend patch for some stability.
153
154* Sat Apr 22 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
155- fixed vine-extend patch for timer initialization for busy coursor.
156
157* Wed Apr 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
158- modified tempnam patch for stability.
159
160* Mon Apr 17 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
161- modified vine_extend patch to fix URL DnD action again, sorry...
162
163* Sat Apr 15 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
164- modified vine_extend patch to fix URL DnD action and clean up a little.
165- added the special up directory pixmap.
166- added ftpfs patch to reconnecte after idle timeout.
167- added --with-smbfs option to configure.
168
169* Tue Apr 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
170- modified vine_extend patch to snap and aoto-put icons to better position.
171- added gme-client for Gnome 1.1.x
172
173* Sat Apr 8 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
174- modified vine_extend patch to customize desktop icon appearance and fix dnd.
175- added the special home directory pixmap.
176
177* Thu Apr 6 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
178- updated to 4.5.44
179- removed kondara's patch
180- add fixsh patch from RH6.2
181- add kterm and vine_extend and view_fix patch instead of kondara's patch.
182
183* Wed  Feb 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
184- added absoluterm.patch from RH6.2beta SRPM.
185- added japo patch
186
187* Tue Dec 21 1999 Jun Nishii <jun@vinelinux.org>
188- merge kondara patch, thanks kondara
189
190* Wed Dec  8 1999 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>
191- updated to 4.5.42
192
193* Sat Sep 18 1999 Kazuhito Nishi <nishi@imasy.or.jp>
194- First try at a spec file for Vine
195
Note: See TracBrowser for help on using the repository browser.