From: <ju...@us...> - 2003-11-03 14:16:29
|
Update of /cvsroot/gtk2hs/gtk2hs In directory sc8-pr-cvs1:/tmp/cvs-serv9973 Modified Files: gtk2hs.spec.in Log Message: (BuildRequires): Require gtksourceview-devel. (Requires): Require gtksourceview. (%post): Install sourceview package. (%preun): Remove sourceview package. Index: gtk2hs.spec.in =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk2hs.spec.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- gtk2hs.spec.in 31 Jul 2003 10:30:38 -0000 1.7 +++ gtk2hs.spec.in 3 Nov 2003 14:16:26 -0000 1.8 @@ -26,9 +26,9 @@ %package ghc%{ghc_version} Summary: Haskell binding for the GIMP Toolkit (GTK2), a GUI library Group: Development/Languages/Haskell -BuildRequires: ghc = %{ghc_version}, gtk2-devel, %{?_with_c2hs: c2hs >= 0.10.6}, %{_bindir}/hsc2hs +BuildRequires: ghc = %{ghc_version}, gtk2-devel, gtksourceview-devel, %{?_with_c2hs: c2hs >= 0.10.6}, %{_bindir}/hsc2hs Requires: ghc = %{ghc_version} -Requires: gtk2 +Requires: gtk2, gtksourceview Requires(post,preun): %{_bindir}/ghc-pkg-%{ghc_version} %description ghc%{ghc_version} @@ -78,13 +78,15 @@ # perl -pi -e "s|%{buildroot}||" \ # %{_libdir}/ghc-%{ghc_version}/{%{name}/gtk2.conf,mogul.conf} -ghc-pkg-%{ghc_version} -u -g -i %{_libdir}/ghc-%{ghc_version}/%{name}/gtk2.conf -ghc-pkg-%{ghc_version} -u -g -i %{_libdir}/ghc-%{ghc_version}/mogul/mogul.conf +ghc-pkg-%{ghc_version} -u -g -i %{_libdir}/ghc-%{ghc_version}/%{name}/gtk2/gtk2.conf +ghc-pkg-%{ghc_version} -u -g -i %{_libdir}/ghc-%{ghc_version}/%{name}/sourceview/sourceview.conf +ghc-pkg-%{ghc_version} -u -g -i %{_libdir}/ghc-%{ghc_version}/%{name}/mogul/mogul.conf %preun ghc%{ghc_version} if [ "$1" = 0 ]; then - rm -f %{_libdir}/ghc-%{ghc_version}/{%{name}/gtk2hs.o,mogul.o} + rm -f %{_libdir}/ghc-%{ghc_version}/%{name}/{gtk2/gtk2hs.o,mogul/mogul.o,spirceview/sourceview.o} ghc-pkg-%{ghc_version} -r mogul || : + ghc-pkg-%{ghc_version} -r sourceview || : ghc-pkg-%{ghc_version} -r gtk2 || : fi |