From 4b67e11e362c9b0cd701acd161af4c718d47f217 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 05:17:09 +0000 Subject: auto-import changelog data from glib2-2.0.6-2.src.rpm Tue Aug 13 2002 Havoc Pennington - install glib2.sh and glib2.csh to set G_BROKEN_FILENAMES - blow away unpackaged files in install --- diff --git a/glib2.csh b/glib2.csh new file mode 100644 index 0000000..3a7d294 --- /dev/null +++ b/glib2.csh @@ -0,0 +1,6 @@ + +## This caused GLib2 applications to convert filenames from +## locale encoding to UTF-8. If the locale encoding is already +## UTF-8 then it makes no difference. + +setenv G_BROKEN_FILENAMES 1 diff --git a/glib2.sh b/glib2.sh new file mode 100644 index 0000000..20364f0 --- /dev/null +++ b/glib2.sh @@ -0,0 +1,5 @@ +## This caused GLib2 applications to convert filenames from +## locale encoding to UTF-8. If the locale encoding is already +## UTF-8 then it makes no difference. + +export G_BROKEN_FILENAMES=1 \ No newline at end of file diff --git a/glib2.spec b/glib2.spec index 12012eb..7562f44 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,10 +1,12 @@ Summary: A library of handy utility functions. Name: glib2 Version: 2.0.6 -Release: 1 +Release: 2 License: LGPL Group: System Environment/Libraries Source: glib-%{version}.tar.bz2 +Source2: glib2.sh +Source3: glib2.csh BuildRoot: /var/tmp/glib-%{PACKAGE_VERSION}-root BuildRequires: pkgconfig >= 0.8 Obsoletes: glib-gtkbeta @@ -47,6 +49,13 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} %makeinstall +## glib2.sh and glib2.csh +./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + %find_lang glib20 %clean @@ -64,6 +73,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libgthread-2.0.so.* %{_libdir}/libgmodule-2.0.so.* %{_libdir}/libgobject-2.0.so.* +%{_sysconfdir}/profile.d/* %files devel %defattr(-, root, root) @@ -79,6 +89,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/* %changelog +* Tue Aug 13 2002 Havoc Pennington +- install glib2.sh and glib2.csh to set G_BROKEN_FILENAMES +- blow away unpackaged files in install + * Thu Aug 8 2002 Owen Taylor - Version 2.0.6 - Remove fixed-ltmain.sh; shouldn't be needed any more.