%define name powershell %define version 0.9 %define pre pre3 %define release 0.%{pre}.3mdk %define Summary A terminal emulator for the X11 Window System. %define Group Terminals %define section %{Group} %define iconname powershell.png Summary: %Summary Name: %name Version: %version Release: %release Source: http://powershell.sourceforge.net/download/%{name}-pre0.9-3.tar.bz2 URL: http://powershell.sourceforge.net/ License: GPL Group: %{Group} BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: gnome-libs-devel BuildRequires: db1-devel BuildRequires: ImageMagick %description A terminal emulator for the X11 Window System. This is a prerelease of 0.9. Features: - Full GNOME support. - Support for many terminal windows in a single window, separated by "notebook" tabs. - Menu options to open a new tab with various programs running, including bash, tcsh, pine, and emacs. - Ability to change menu options through ~/.pshellrc as well as the Preferences dialog box. - Ability to switch terms with Ctrl-1, Ctrl-2, etc... - Support for transparency, pixmap backgrounds, etc... - Full support for color. -URL handling. Click on an ftp:// link and have it open in your favorite FTP application. Or click on an email address and your favorite email program opens. %prep %setup %configure2_5x %build make %install mkdir -p $RPM_BUILD_ROOT/usr/bin /usr/bin/install -m 755 powershell ${RPM_BUILD_ROOT}/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/share/gnome/help/powershell/C /usr/bin/install -m 644 -c docs/html/* ${RPM_BUILD_ROOT}/usr/share/gnome/help/powershell/C mkdir -p $RPM_BUILD_ROOT/%{_menudir} cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/%{name} ?package(%{name}):\ needs="x11"\ section="%{section}"\ title="Powershell"\ longtitle="A terminal emulator for the X11 Window System."\ command="%{name}"\ icon="%iconname" EOF mkdir -p $RPM_BUILD_ROOT{%{_iconsdir},%{_miconsdir},%{_liconsdir}} convert gnome-powershell.png -geometry 16x16 $RPM_BUILD_ROOT%{_miconsdir}/%iconname convert gnome-powershell.png -geometry 32x32 $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png convert gnome-powershell.png -geometry 48x48 $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png %clean rm -rf $RPM_BUILD_ROOT %post %{update_menus} %postun %{clean_menus} %files %defattr(-, root, root) %doc AUTHORS README COPYING INSTALL BUGS %{_bindir}/* %{_menudir}/* %dir %{_datadir}/gnome/help/powershell %{_datadir}/gnome/help/powershell/*/* %{_liconsdir}/%iconname %{_iconsdir}/%iconname %{_miconsdir}/%iconname %changelog * Fri Feb 06 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9-0.%{pre}.3mdk - use Summary and Group - use iconname marco - drop icon sources and use ImageMagick * Mon Jan 27 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9-0.%{pre}.2mdk - rebuild * Mon Oct 14 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.9-0.pre3.1mdk - from Charles A Edwards <eslrahc@bellsouth.net> : - pre0.9-3 - save space decompress icons - slight change in %summary and menu - reduce description length to please rpmlint - do not use marcos build/makeinstall * Thu Aug 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.8-5mdk - rebuild * Fri Mar 23 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.8-4mdk - added in contribs by Alexander Skwar <ASkwar@Linux-Mandrake.com> : - Fixed menu entry * Sat Mar 17 2001 Alexander Skwar <ASkwar@Linux-Mandrake.com> 0.8-3mdk - Changed Menu Section/RPM Group to Terminals * Sat Mar 17 2001 Alexander Skwar <ASkwar@Linux-Mandrake.com> 0.8-2mdk - "Beautified" description * Sat Mar 17 2001 Alexander Skwar <ASkwar@Linux-Mandrake.com> 0.8-1mdk - First Mandrake version - Took icons from upcoming release * Sat Mar 4 2000 Matt Spong <spong@glue.umd.edu> - Ability to not run the default login shell on startup - Ability to change scrollbar position or hide the scrollbar - Ability to hide the taps if only one term is running and then show them when another one is opened * Sat Feb 12 2000 Matt Spong <spong@glue.umd.edu> - Added scrollbar to menu item list in Prefs dialog - Fixed PowerPC segfault bug - Added prefs option to turn off URL matching - Fixed default options to be more reasonable - Added ability for menus to prompt user for program arguments (this is damn cool, BTW) - Added status bar - Added preferences option to change which side the notebook tabs are on or hide the tabs altogether - Added option to hide the menubar (ARGH! GNOME SUCKS ASS! That was such a bigger pain in the ass than it should have been.) - Added option to run certain menu items on startup. * Fri Feb 4 2000 Matt Spong <spong@glue.umd.edu> - Comprehensive online documentation added. - Fixed both known segfaults in 0.65 - No longer complains about help file being NULL (since it's not anymore :-) * Sat Jan 29 2000 Matt Spong <spong@glue.umd.edu> - Now launches user's login shell by default rather than the first item in the menu. - Ctrl-Tab switches to next tab - Added "Update" button to Menu Editor - Right-clicking on tab now brings up "rename" dialog - Fixed window creation (now creates it initially at the correct size) - Fix resizing problems. - Fixed font selection segfault. - Fixed configure script - Several unresolved segfaults (powershell -e now segfaults, as does running a program in the background using a '&' after the command) If anybody can help fix these, I would greatly appreciate it. * Tue Jan 25 2000 Matt Spong <spong@glue.umd.edu> - Version 0.63 - Finished preferences dialog. - Now supports everything the gnome-terminal does and much more (it is missing a few menu options, though) - Full custom color support, terminal options changeable. - Changeable "scrollback lines" option. - Added a "Run..." option in the File menu. - Preliminary support for background execution of programs (although it is very buggy, so I don't suggest using it) - Several bugfixes (a program without a path no longer causes a segfault) * Mon Jan 24 2000 Matt Spong <spong@glue.umd.edu> - Version 0.6 - Completely revamped preferences dialog. - Added support for visual menu editing. - Many more menu options. * Mon Jan 24 2000 Matt Spong <spong@glue.umd.edu> - Version 0.55 - Added popup menu with right-click on term - Moved "Rename Tab" to the menu rather than to a simple right-click. - Revamped preferences dialog. * Sun Jan 23 2000 Matt Spong <spong@glue.umd.edu> - Version 0.5 - Converted to a true Gnome application * Sun Jan 23 2000 Matt Spong <spong@glue.umd.edu> - Version 0.4 - Conversion to GNU autoconf - Hopefully fixed all compile-time errors because of wrong gnome-libs versions - Added font select dialog - Changing of background or font no longer requires restart of program - Fixed a segfault bug - Fixed the scrollbars so they actually work now :-) - Fixed all compile-time warnings * Sat Jan 22 2000 Matt Spong <spong@glue.umd.edu> - Version 0.32 - Added scrollbars - Fixed focus bug * Sat Jan 22 2000 Matt Spong <spong@glue.umd.edu> - Version 0.3 - Added support for user-defined URL handlers - Added support for transparency, shading, and background pixmaps - Implemented Preferences dialog - Added support for on-the-fly renaming of tabs - Added "About Box" - Fixed "make" bug * Fri Jan 22 2000 Matt Spong <spong@glue.umd.edu> - Version 0.2 - Major rewrite - Added support for user-defined application (via ~/.pshellrc) - Added more keyboard control (for switching between terms) * Sat Jan 15 2000 Matt Spong <spong@glue.umd.edu> - Version 0.1b - Minor bug fixes. * Sat Jan 8 2000 Matt Spong <spong@glue.umd.edu> - Version 0.1 - Initial public release.