Name: calmus-fonts Version: 0.100 Release: 1%{?dist} License: GPLv2 Source: culmus-%{version}.tar.gz Source1: LICENSE-BITSTREAM BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Group: User Interface/X Summary: Fonts for Hebrew URL: http://culmus.sourceforge.net/ %description The fonts-hebrew package contains fonts for the display of Hebrew from the Culmus project. %prep %setup -q -n culmus-%{version} install -c -p -m 644 %SOURCE1 . %build echo "Nothing to do in Build." %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_datadir}/fonts/hebrew cp *.pfa *.afm $RPM_BUILD_ROOT%{_datadir}/fonts/hebrew # %%ghost the fonts.cache-1 file touch $RPM_BUILD_ROOT%{_datadir}/fonts/hebrew/fonts.cache-1 %clean rm -rf $RPM_BUILD_ROOT %post if [ -x %{_bindir}/fc-cache ]; then %{_bindir}/fc-cache /usr/share/fonts fi %postun if [ "$1" = "0" ]; then if [ -x %{_bindir}/fc-cache ]; then %{_bindir}/fc-cache /usr/share/fonts fi fi %files %defattr(-,root,root) %doc CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM %dir %{_datadir}/fonts/hebrew %{_datadir}/fonts/hebrew/*.pfa %{_datadir}/fonts/hebrew/*.afm %ghost %verify(not md5 size mtime) %{_datadir}/fonts/hebrew/fonts.cache-1 %changelog * Thu Oct 04 2007 Rahul Bhalerao - 0.100-1.fc8 - Split package from fonts-hebrew to reflect upstream project name