File fitx.spec of Package fitx
Name: fitx
Version: 0.5.1
Release: 1
License: New BSD License
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: scim-devel scim-python gnustep-make gnustep-base gnustep-base-devel sqlite-devel gcc-c++ gcc-obj-c++ libopenssl-devel
URL: http://code.google.com/p/fitx/
Source0: %{name}_%{version}.src.tar.gz
Group: System Environment/Libraries
Summary: Fun Input Toy for Linux
Requires: scim-python gnustep-base libopenssl0_9_8
%description
Fun Input Toy for Linux, based on scim and scim-python
%prep
%setup -n %{name}_%{version}
%build
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make
%install
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%_bindir/fitx
%_datadir/fit/*
%_datadir/scim-python/engine/FunInputToy/*
%_datadir/locale/*/LC_MESSAGES/fitx.mo
%_datadir/scim-python/setupui/FunInputToy/*