mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-05 19:14:27 +03:00
Updated spec file
Dr Mike <drmike@redhat.com>
This commit is contained in:
parent
7aec2adddf
commit
ebe465ad56
49
mc.spec
49
mc.spec
@ -1,5 +1,5 @@
|
|||||||
# Note that this is NOT a relocatable package
|
# Note that this is NOT a relocatable package
|
||||||
%define ver 4.5.7
|
%define ver 4.5.16
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
|
|
||||||
Summary: Midnight Commander visual shell
|
Summary: Midnight Commander visual shell
|
||||||
@ -10,7 +10,7 @@ Copyright: GPL
|
|||||||
Group: Shells
|
Group: Shells
|
||||||
Source0: ftp://ftp.nuclecu.unam.mx/linux/local/devel/mc-%{PACKAGE_VERSION}.tar.gz
|
Source0: ftp://ftp.nuclecu.unam.mx/linux/local/devel/mc-%{PACKAGE_VERSION}.tar.gz
|
||||||
URL: http://www.gnome.org/mc/
|
URL: http://www.gnome.org/mc/
|
||||||
BuildRoot: /tmp/mc-%{PACKAGE_VERSION}-root
|
BuildRoot: /var/tmp/mc-%{PACKAGE_VERSION}-root
|
||||||
Requires: pam >= 0.59
|
Requires: pam >= 0.59
|
||||||
Prereq: /sbin/chkconfig
|
Prereq: /sbin/chkconfig
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ files, and poke into RPMs for specific files. :-)
|
|||||||
|
|
||||||
%package -n gmc
|
%package -n gmc
|
||||||
Summary: Midnight Commander visual shell (GNOME version)
|
Summary: Midnight Commander visual shell (GNOME version)
|
||||||
Requires: mc >= 4.1.31
|
Requires: mc >= %{PACKAGE_VERSION}
|
||||||
Group: X11/Shells
|
Group: X11/Shells
|
||||||
%description -n gmc
|
%description -n gmc
|
||||||
Midnight Commander is a visual shell much like a file manager, only with
|
Midnight Commander is a visual shell much like a file manager, only with
|
||||||
@ -82,37 +82,38 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
|
||||||
%doc FAQ COPYING NEWS README
|
%doc FAQ COPYING NEWS README
|
||||||
/usr/bin/mc
|
%{prefix}/bin/mc
|
||||||
/usr/bin/mcedit
|
%{prefix}/bin/mcedit
|
||||||
/usr/bin/mcmfmt
|
%{prefix}/bin/mcmfmt
|
||||||
/usr/lib/mc/mc.ext
|
%{prefix}/lib/mc/mc.ext
|
||||||
/usr/lib/mc/mc.hint
|
%{prefix}/lib/mc/mc.hint
|
||||||
/usr/lib/mc/mc.hlp
|
%{prefix}/lib/mc/mc.hlp
|
||||||
/usr/lib/mc/mc.lib
|
%{prefix}/lib/mc/mc.lib
|
||||||
/usr/lib/mc/mc.menu
|
%{prefix}/lib/mc/mc.menu
|
||||||
/usr/lib/mc/bin/cons.saver
|
%{prefix}/lib/mc/bin/cons.saver
|
||||||
/usr/lib/mc/extfs/*
|
%{prefix}/lib/mc/extfs/*
|
||||||
/usr/man/man1/*
|
%{prefix}/man/man1/*
|
||||||
%config /etc/profile.d/*
|
%config /etc/profile.d/*
|
||||||
%dir /usr/lib/mc
|
%dir %{prefix}/lib/mc
|
||||||
%dir /usr/lib/mc/bin
|
%dir %{prefix}/lib/mc/bin
|
||||||
%dir /usr/lib/mc/extfs
|
|
||||||
%dir /usr/share/mime-info
|
|
||||||
|
|
||||||
%files -n mcserv
|
%files -n mcserv
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
|
||||||
%config /etc/pam.d/mcserv
|
%config /etc/pam.d/mcserv
|
||||||
%config /etc/rc.d/init.d/mcserv
|
%config /etc/rc.d/init.d/mcserv
|
||||||
%attr(-, root, man) /usr/man/man8/mcserv.8
|
%attr(-, root, man) %{prefix}/man/man8/mcserv.8
|
||||||
/usr/bin/mcserv
|
%{prefix}/bin/mcserv
|
||||||
|
|
||||||
%files -n gmc
|
%files -n gmc
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%{prefix}/bin/gmc
|
||||||
/usr/bin/gmc
|
%{prefix}/bin/plain-gmc
|
||||||
/usr/lib/mc/layout
|
%{prefix}/lib/mc/layout
|
||||||
/usr/share/pixmaps/mc/*
|
%{prefix}/lib/mc/mc-gnome.ext
|
||||||
|
%{prefix}/share/pixmaps/mc/*
|
||||||
|
%{prefix}/share/mime-info/mc.keys
|
||||||
|
%config %{prefix}/etc/CORBA/servers/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 20 1998 Michael Fulbright <msf@redhat.com>
|
* Thu Aug 20 1998 Michael Fulbright <msf@redhat.com>
|
||||||
|
Loading…
Reference in New Issue
Block a user