rpms/system-switch-java/devel system-switch-java.spec,NONE,1.1
Thomas Fitzsimmons (fitzsim)
fedora-extras-commits at redhat.com
Wed Jan 24 21:59:31 UTC 2007
Author: fitzsim
Update of /cvs/extras/rpms/system-switch-java/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19151
Added Files:
system-switch-java.spec
Log Message:
- Add system-switch-java.spec (cvs-import.sh timed-out when adding this file).
--- NEW FILE system-switch-java.spec ---
Name: system-switch-java
Version: 1.0.0
Release: 1%{?dist}
Summary: A tool for changing the default Java toolset
Group: Applications/System
License: GPL
URL: ftp://sources.redhat.com/pub/rhug/%{name}-%{version}.tar.bz2
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: python-devel
Requires: chkconfig
Requires: libuser
Requires: newt
Requires: python
Requires: usermode
%description
The system-switch-java package provides an easy-to-use tool to select
the default Java toolset for the system.
%package gui
Summary: A graphical tool for changing the default Java toolset
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Requires: libglade2
Requires: pygtk2-libglade
Requires: pygtk2
Requires: usermode-gtk
%description gui
The system-switch-java-gui package provides an easy-to-use graphical
tool to select the default Java toolset for the system.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%find_lang %{name}
install -dm 755 %{buildroot}%{_datadir}/applications
desktop-file-install --vendor "" \
--dir %{buildroot}%{_datadir}/applications \
system-switch-java.desktop
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS README COPYING
%{_bindir}/*
%{_sbindir}/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/switch_java_functions.py*
%{_datadir}/%{name}/switch_java_tui.py*
%config(noreplace) /etc/pam.d/*
%config(noreplace) /etc/security/console.apps/%{name}*
%files gui
%defattr(-,root,root)
%doc COPYING.icon
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/%{name}/switch_java_gui.py*
%{_datadir}/%{name}/system-switch-java.glade
%changelog
* Tue Jan 23 2007 Thomas Fitzsimmons <fitzsim at redhat.com> - 1.0.0-1
- Initial release.
More information about the scm-commits
mailing list