Fix duplicate documentation (#1001292)

- Add BR graphviz for /usr/bin/dot (missing images in documentation)
- Fix summaries, descriptions and Group tags of IM module subpackages
- Fix directory ownership
epel9
Michael Schwendt 11 years ago
parent b97d84e4f5
commit 60794739e2

@ -1,6 +1,6 @@
Name: maliit-framework Name: maliit-framework
Version: 0.94.2 Version: 0.94.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Input method framework Summary: Input method framework
Group: System Environment/Libraries Group: System Environment/Libraries
@ -11,6 +11,7 @@ Source0: http://maliit.org/releases/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: dbus-devel BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel BuildRequires: dbus-glib-devel
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
@ -36,46 +37,40 @@ communicate with the Maliit server via input context plugins. The communication
link currently uses D-Bus. link currently uses D-Bus.
%package qt4 %package qt4
Summary: Development package for %{name} Summary: Input method module for Qt 4 based on Maliit framework
Group: Development/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description qt4 %description qt4
Files for development with %{name}. Input method module for Qt 4 based on Maliit framework.
%package gtk2 %package gtk2
Summary: Development package for %{name} Summary: Input method module for GTK+ 2 based on Maliit framework
Group: Development/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description gtk2 %description gtk2
Files for development with %{name}. Input method module for GTK+ 2 based on Maliit framework.
%package gtk3 %package gtk3
Summary: Development package for %{name} Summary: Input method module for GTK+ 3 based on Maliit framework
Group: Development/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description gtk3 %description gtk3
Files for development with %{name}. Input method module for GTK+ 3 based on Maliit framework.
%package devel %package devel
Summary: Development package for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel %description devel
Files for development with %{name}. Files for development with %{name}.
%package docs %package docs
Summary: Documentation files for %{name} Summary: Documentation files for %{name}
Group: Development/Libraries Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: gtk-doc
BuildArch: noarch BuildArch: noarch
%description docs %description docs
@ -84,10 +79,10 @@ This package contains developer documentation for %{name}.
%package examples %package examples
Summary: Tests and examples for %{name} Summary: Tests and examples for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-gtk2 = %{version}-%{release} Requires: %{name}-gtk2%{?_isa} = %{version}-%{release}
Requires: %{name}-gtk3 = %{version}-%{release} Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
Requires: %{name}-qt4 = %{version}-%{release} Requires: %{name}-qt4%{?_isa} = %{version}-%{release}
%description examples %description examples
This package contains tests and examples for %{name}. This package contains tests and examples for %{name}.
@ -112,6 +107,10 @@ make install INSTALL="install -p" INSTALL_ROOT=%{buildroot} DESTDIR=%{buildroot}
find %{buildroot} -name '.moc' -exec rm -rf {} ';' find %{buildroot} -name '.moc' -exec rm -rf {} ';'
find %{buildroot} -name '.gitignore' -exec rm -rf {} ';' find %{buildroot} -name '.gitignore' -exec rm -rf {} ';'
# move installed docs to include them in subpackage via %%doc magic
rm -rf __tmp_doc ; mkdir __tmp_doc
mv ${RPM_BUILD_ROOT}%{_docdir}/%{name}/* __tmp_doc
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -138,6 +137,9 @@ fi
%doc LICENSE.LGPL README NEWS %doc LICENSE.LGPL README NEWS
%{_bindir}/maliit-server %{_bindir}/maliit-server
%{_libdir}/libmaliit*.so.* %{_libdir}/libmaliit*.so.*
%dir %{_libdir}/maliit
%dir %{_libdir}/maliit/plugins
%dir %{_libdir}/maliit/plugins/factories
%{_libdir}/maliit/plugins/factories/libmaliit-plugins-quick-factory.so %{_libdir}/maliit/plugins/factories/libmaliit-plugins-quick-factory.so
%{_libdir}/girepository-1.0/Maliit-1.0.typelib %{_libdir}/girepository-1.0/Maliit-1.0.typelib
%{_datadir}/dbus-1/services/org.maliit.server.service %{_datadir}/dbus-1/services/org.maliit.server.service
@ -156,17 +158,26 @@ fi
%{_libdir}/libmaliit*.so %{_libdir}/libmaliit*.so
%{_libdir}/pkgconfig/maliit*.pc %{_libdir}/pkgconfig/maliit*.pc
%{_libdir}/qt4/mkspecs/features/maliit* %{_libdir}/qt4/mkspecs/features/maliit*
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Maliit-1.0.gir %{_datadir}/gir-1.0/Maliit-1.0.gir
%files docs %files docs
%{_datadir}/doc/maliit-framework %doc __tmp_doc/*
%{_datadir}/gtk-doc/html/maliit %dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/maliit/
%files examples %files examples
%{_bindir}/maliit-example* %{_bindir}/maliit-example*
%{_libdir}/maliit-framework-tests %{_libdir}/maliit-framework-tests
%changelog %changelog
* Fri Dec 13 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.94.2-3
- Fix duplicate documentation (#1001292)
- Add BR graphviz for /usr/bin/dot (missing images in documentation)
- Fix summaries, descriptions and Group tags of IM module subpackages
- Fix directory ownership
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-2 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Loading…
Cancel
Save