diff --git a/gconfmm26.spec b/gconfmm26.spec index fb7fc6f..4eb8767 100644 --- a/gconfmm26.spec +++ b/gconfmm26.spec @@ -6,7 +6,7 @@ Summary: C++ wrapper for GConf2 Group: System Environment/Libraries License: LGPLv2+ -URL: http://http://www.gtkmm.org/ +URL: http://www.gtkmm.org/ Source0: http://ftp.gnome.org/pub/GNOME/sources/gconfmm/2.28/gconfmm-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -17,7 +17,7 @@ BuildRequires: gtkmm24-devel >= 2.4.0 BuildRequires: GConf2-devel >= 2.4.0 %description -This package provides a C++ interface for GConf2. It is a subpackage +This package provides a C++ interface for GConf2. It is a sub-package of the GTKmm project. The interface provides a convenient interface for C++ programmers to create Gnome GUIs with GTK+'s flexible object-oriented framework. @@ -38,6 +38,11 @@ interface to the GTK+. %prep %setup -q -n gconfmm-%{version} +# convert README file to UTF-8 +iconv --from=ISO-8859-1 --to=UTF-8 README > README.new && \ +touch -r README README.new && \ +mv README.new README + %build %configure --disable-static --enable-shared @@ -54,12 +59,10 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' rm -rf $RPM_BUILD_ROOT -%post -/sbin/ldconfig +%post -p /sbin/ldconfig -%postun -/sbin/ldconfig +%postun -p /sbin/ldconfig %files @@ -73,10 +76,14 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/gconfmm-2.6 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc +%{_datadir}/devhelp/books/gconfmm-2.6/gconfmm-2.6.devhelp2 +%{_datadir}/doc/gconfmm-2.6/reference/* %changelog * Thu Sep 30 2010 Haïkel Guémar - 2.28.2-1 - Update to upstream 2.28.2 +- Rename spec file according guidelines +- Rpmlint fixes * Fri Sep 25 2009 Denis Leroy - 2.28.0-1 - Update to upstream 2.28.0