diff --git a/_service b/_service
new file mode 100644
index 0000000..24f5ff0
--- /dev/null
+++ b/_service
@@ -0,0 +1,8 @@
+
+
+ http
+ ftp.gnome.org
+ /pub/GNOME/sources/pangomm/2.28/pangomm-2.28.2.tar.bz2
+
+
+
diff --git a/_service:download_url:pangomm-2.28.2.tar.bz2 b/_service:download_url:pangomm-2.28.2.tar.bz2
new file mode 100644
index 0000000..bc16a08
--- /dev/null
+++ b/_service:download_url:pangomm-2.28.2.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ec1d97245eada5cf18d0e7af3f6e31498f25623b4a354589d631d2dff92fd88f
+size 1045703
diff --git a/_service:set_version:pangomm.spec b/_service:set_version:pangomm.spec
new file mode 100644
index 0000000..ade7081
--- /dev/null
+++ b/_service:set_version:pangomm.spec
@@ -0,0 +1,103 @@
+#
+# spec file for package pangomm
+#
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+# Update baselibs.conf when changing this
+%define so_ver -1_4-1
+
+Name: pangomm
+Version: 2.28.2
+Release: 0
+Group: Development/Libraries/C and C++
+License: GPLv2+ ; LGPLv2.0+
+Summary: C++ interface for pango
+Url: http://www.gtkmm.org
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(cairomm-1.0)
+BuildRequires: pkgconfig(glibmm-2.4)
+BuildRequires: pkgconfig(pangocairo)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+pangomm provides a C++ interface to the pango library.
+
+%package -n libpangomm%{so_ver}
+License: GPLv2+ ; LGPLv2.0+
+Group: Development/Libraries/C and C++
+Summary: C++ interface for pango
+
+%description -n libpangomm%{so_ver}
+pangomm provides a C++ interface to the pango library.
+
+%package devel
+License: GPLv2+ ; LGPLv2.0+
+Group: Development/Libraries/C and C++
+Summary: C++ interface for pango -- Development Files
+Requires: libpangomm%{so_ver} = %{version}
+
+%description devel
+pangomm provides a C++ interface to the pango library.
+
+%package doc
+License: GPLv2+ ; LGPLv2.0+
+Group: Development/Libraries/C and C++
+Summary: C++ interface for pango -- Developer Documentation
+
+%description doc
+pangomm provides a C++ interface to the pango library.
+
+%prep
+%setup
+
+%build
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+%makeinstall
+rm %{buildroot}%{_libdir}/*.la
+%fdupes %{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%post -n libpangomm%{so_ver} -p /sbin/ldconfig
+
+%postun -n libpangomm%{so_ver} -p /sbin/ldconfig
+
+%files -n libpangomm%{so_ver}
+%defattr (-, root, root)
+%doc AUTHORS NEWS README
+%{_libdir}/*.so.*
+
+%files devel
+%defattr (-, root, root)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pangomm-1.4
+
+%files doc
+%defattr (-, root, root)
+%{_datadir}/devhelp/books/pangomm-1.4/
+%{_datadir}/doc/pangomm-1.4/
+# Avoid BuildRequires on devhelp
+%dir %{_datadir}/devhelp
+%dir %{_datadir}/devhelp/books
+
+%changelog
diff --git a/pangomm-2.26.3.tar.bz2 b/pangomm-2.26.3.tar.bz2
deleted file mode 100644
index d3588d1..0000000
--- a/pangomm-2.26.3.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b1aa7a1de1c3eaf149ec0ca4bc962b8bf454f4e484abf34333d387d32c3825e6
-size 1038428
diff --git a/pangomm.changes b/pangomm.changes
index 26bd7a5..d6bad89 100644
--- a/pangomm.changes
+++ b/pangomm.changes
@@ -1,3 +1,38 @@
+-------------------------------------------------------------------
+Fri Apr 29 23:04:16 UTC 2011 - dimstar@opensuse.org
+
+- Update to version 2.28.2:
+ + bgo#645669: Install the m4 files even without
+ --enable-maintainer-mode, as with other modules.
+- Use source services: download_url and set_version.
+
+-------------------------------------------------------------------
+Mon Mar 28 13:32:47 UTC 2011 - fcrozat@novell.com
+
+- Update to version 2.28.1:
+ + Avoid a tarball dependency on mm-common.
+- Changes from version 2.28.0:
+ + regenerated tarball due to changes in an m4 macro in mm-common.
+
+-------------------------------------------------------------------
+Wed Feb 23 13:04:08 UTC 2011 - adam@mizerski.pl
+
+- Update to version 2.27.1:
+ + LayoutIter: This now has a copy constructor.
+ + Layout::get_iter(): There is now a version of this method that
+ returns a LayoutIter. The version with the output parameter is
+ now deprecated.
+- Remove libsigc++2-devel and update-desktop-files BuildRequires.
+- Change BuildRequires to pkgconfig() ones:
+ + old ones: cairomm-devel, glibmm2-devel, pango-devel.
+ + pkgconfig() ones: cairomm-1.0, glibmm-2.4, pangocairo.
+- Remove explicit Requires for glibmm2-devel, cairomm-devel,
+ atk-devel and pango-devel in devel subpackage: they will
+ automatically be added the pkgconfig() way.
+- Remove Requires for devel subpackage in doc subpackage: it's not
+ really needed.
+- Pass --disable-static to configure.
+
-------------------------------------------------------------------
Fri Dec 10 00:09:52 CET 2010 - vuntz@opensuse.org
diff --git a/pangomm.spec b/pangomm.spec
index a00ab7f..5506611 100644
--- a/pangomm.spec
+++ b/pangomm.spec
@@ -1,5 +1,5 @@
#
-# spec file for package pangomm (Version 2.26.3)
+# spec file for package pangomm
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,51 +15,40 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
+# Update baselibs.conf when changing this
+%define so_ver -1_4-1
Name: pangomm
-BuildRequires: cairomm-devel
-BuildRequires: fdupes
-BuildRequires: gcc-c++
-BuildRequires: glibmm2-devel
-BuildRequires: libsigc++2-devel
-BuildRequires: pango-devel
-BuildRequires: update-desktop-files
-Version: 2.26.3
+Version: 2.28.1
Release: 1
Group: Development/Libraries/C and C++
License: GPLv2+ ; LGPLv2.0+
Summary: C++ interface for pango
Url: http://www.gtkmm.org
Source: %{name}-%{version}.tar.bz2
-AutoReqProv: on
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(cairomm-1.0)
+BuildRequires: pkgconfig(glibmm-2.4)
+BuildRequires: pkgconfig(pangocairo)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%define debug_package_requires libpangomm-1_4-1 = %{version}-%{release}
%description
pangomm provides a C++ interface to the pango library.
-
-
-Authors:
---------
- Murray Cumming
- Daniel Elstner
-
-%package -n libpangomm-1_4-1
+%package -n libpangomm%{so_ver}
License: GPLv2+ ; LGPLv2.0+
Group: Development/Libraries/C and C++
Summary: C++ interface for pango
-%description -n libpangomm-1_4-1
+%description -n libpangomm%{so_ver}
pangomm provides a C++ interface to the pango library.
%package devel
License: GPLv2+ ; LGPLv2.0+
Group: Development/Libraries/C and C++
-Summary: C++ interface for pango
-Requires: libpangomm-1_4-1 = %{version} glibmm2-devel cairomm-devel atk-devel pango-devel
+Summary: C++ interface for pango -- Development Files
+Requires: libpangomm%{so_ver} = %{version}
%description devel
pangomm provides a C++ interface to the pango library.
@@ -67,8 +56,7 @@ pangomm provides a C++ interface to the pango library.
%package doc
License: GPLv2+ ; LGPLv2.0+
Group: Development/Libraries/C and C++
-Summary: C++ interface for pango
-Requires: %{name}-devel = %{version}
+Summary: C++ interface for pango -- Developer Documentation
%description doc
pangomm provides a C++ interface to the pango library.
@@ -77,22 +65,22 @@ pangomm provides a C++ interface to the pango library.
%setup
%build
-%configure
+%configure --disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
-rm $RPM_BUILD_ROOT/%{_libdir}/*.la
-%fdupes $RPM_BUILD_ROOT
+rm %{buildroot}%{_libdir}/*.la
+%fdupes %{buildroot}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
-%post -n libpangomm-1_4-1 -p /sbin/ldconfig
+%post -n libpangomm%{so_ver} -p /sbin/ldconfig
-%postun -n libpangomm-1_4-1 -p /sbin/ldconfig
+%postun -n libpangomm%{so_ver} -p /sbin/ldconfig
-%files -n libpangomm-1_4-1
+%files -n libpangomm%{so_ver}
%defattr (-, root, root)
%doc AUTHORS NEWS README
%{_libdir}/*.so.*
@@ -106,8 +94,8 @@ rm -rf $RPM_BUILD_ROOT
%files doc
%defattr (-, root, root)
-%{_datadir}/devhelp/books/pangomm-1.4
-%{_datadir}/doc/pangomm-1.4
+%{_datadir}/devhelp/books/pangomm-1.4/
+%{_datadir}/doc/pangomm-1.4/
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books