diff --git a/README.md b/README.md index f715768..41b387f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libpangomm1 +libpangomm1 provides a C++ interface to the Pango library. Highlights include typesafe callbacks, widgets extensible via inheritance and a comprehensive set of widget classes that can be freely combined to quickly create complex user interfaces. + diff --git a/libpangomm1.spec b/libpangomm1.spec new file mode 100644 index 0000000..59cec37 --- /dev/null +++ b/libpangomm1.spec @@ -0,0 +1,155 @@ +%define majver %(echo %version | cut -d. -f 1-2) + +Name: libpangomm1 +Version: 2.46.0 +Release: 2mamba +Summary: C++ interface for Pango +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://gtkmm.sourceforge.net/ +Source: http://ftp.acc.umu.se/pub/GNOME/sources/pangomm/%{majver}/pangomm-%{version}.tar.xz +License: LGPL +BuildRequires: doxygen +BuildRequires: graphviz +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcairomm10-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libglibmm24-devel +BuildRequires: libpango-devel +BuildRequires: libsigc++2-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END + +%description +%{name} provides a C++ interface to the Pango library. Highlights include typesafe callbacks, widgets extensible via inheritance and a comprehensive set of widget classes that can be freely combined to quickly create complex user interfaces. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +%{name} provides a C++ interface to the Pango library. Highlights include typesafe callbacks, widgets extensible via inheritance and a comprehensive set of widget classes that can be freely combined to quickly create complex user interfaces. +This package contains static libraries and header files needed for development. + +%package apidocs +Summary: %{name} API documentation +Group: Documentation +Requires: gtk-doc + +%description apidocs +%{name} provides a C++ interface to the Pango library. Highlights include typesafe callbacks, widgets extensible via inheritance and a comprehensive set of widget classes that can be freely combined to quickly create complex user interfaces. +This package contains %{name} API documentation. + +%debug_package + +%prep +%setup -q -n pangomm-%{version} + +%build +%meson \ + -Dbuild-documentaton=true + +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +## Fix documentation installation +#mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/pangomm-1.4 +#mv %{buildroot}%{_docdir}/pangomm-1.4/* %{buildroot}%{_datadir}/gtk-doc/html/pangomm-1.4/ +#mv %{buildroot}%{_datadir}/devhelp/books/pangomm-1.4/*.devhelp %{buildroot}%{_datadir}/gtk-doc/html/pangomm-1.4 +#sed -i 's:../../../doc/pangomm-1.4/docs/:docs/:' %{buildroot}%{_datadir}/gtk-doc/html/pangomm-1.4/*.devhelp +#rm -r %{buildroot}%{_docdir}/pangomm-1.4 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libpangomm-*.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/pangomm-1.4 +%{_includedir}/pangomm-1.4/*.h +%dir %{_includedir}/pangomm-1.4/pangomm +%{_includedir}/pangomm-1.4/pangomm/*.h +%dir %{_includedir}/pangomm-1.4/pangomm/private +%{_includedir}/pangomm-1.4/pangomm/private/*.h +%{_libdir}/pangomm-1.4/proc/m4/convert*.m4 +%{_libdir}/pangomm-1.4/include/pangommconfig.h +%{_libdir}/libpangomm-*.so +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README README.SUN README.win32 + +#%files apidocs +#%defattr(-,root,root) +##%dir %{_datadir}/gtk-doc/html/pangomm-1.4 +##%{_datadir}/gtk-doc/html/pangomm-1.4/* +#%{_datadir}/devhelp/books/pangomm-1.4/pangomm-1.4.devhelp2 +#%{_docdir}/pangomm-1.4/images/gtkmm_logo.gif +#%{_docdir}/pangomm-1.4/images/top.gif +#%dir %{_docdir}/pangomm-1.4/ +#%{_docdir}/pangomm-1.4/reference + +%changelog +* Fri Apr 16 2021 Silvan Calarco 2.46.0-2mamba +- legacy package + +* Thu Jan 28 2021 Automatic Build System 2.46.0-1mamba +- automatic version update by autodist + +* Tue Dec 29 2020 Automatic Build System 2.42.2-1mamba +- automatic version update by autodist + +* Sun Mar 22 2020 Automatic Build System 2.42.1-1mamba +- automatic version update by autodist + +* Tue Nov 06 2018 Automatic Build System 2.42.0-1mamba +- automatic version update by autodist + +* Sat Aug 20 2016 Automatic Build System 2.40.1-1mamba +- automatic version update by autodist + +* Wed May 04 2016 Automatic Build System 2.40.0-1mamba +- automatic version update by autodist + +* Sun Nov 29 2015 Automatic Build System 2.38.1-1mamba +- automatic version update by autodist + +* Thu Apr 09 2015 Automatic Build System 2.36.0-1mamba +- automatic version update by autodist + +* Wed Apr 24 2013 Automatic Build System 2.34.0-1mamba +- automatic version update by autodist + +* Wed Oct 26 2011 Automatic Build System 2.28.4-1mamba +- automatic version update by autodist + +* Sat Oct 01 2011 Automatic Build System 2.28.3-1mamba +- update to 2.28.3 + +* Wed Apr 06 2011 Automatic Build System 2.28.2-1mamba +- automatic update by autodist + +* Thu Dec 09 2010 Automatic Build System 2.26.3-1mamba +- automatic update to 2.26.3 by autodist + +* Mon Oct 25 2010 Silvan Calarco 2.26.2-2mamba +- rebuilt with libpng 1.4 + +* Sun May 30 2010 Automatic Build System 2.26.2-1mamba +- automatic update to 2.26.2 by autodist + +* Mon Dec 01 2008 gil 2.14.1-1mamba +- package created by autospec