Initial checkin

This commit is contained in:
Denis Leroy 2008-08-29 10:36:51 +00:00
parent 6d22f6b5b9
commit 09c6aeac32
4 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1 @@
pangomm-2.13.7.tar.bz2

1
import.log Normal file
View File

@ -0,0 +1 @@
pangomm-2_13_7-2_fc10:HEAD:pangomm-2.13.7-2.fc10.src.rpm:1220005612

96
pangomm.spec Normal file
View File

@ -0,0 +1,96 @@
%define apiver 1.4
Name: pangomm
Version: 2.13.7
Release: 2%{?dist}
Summary: C++ interface for Pango
Group: System Environment/Libraries
License: LGPLv2+
URL: http://gtkmm.sourceforge.net/
Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.13/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glibmm24-devel >= 2.14.1
BuildRequires: cairomm-devel >= 1.2.2
BuildRequires: pango-devel >= 1.21.3
BuildRequires: doxygen graphviz
%description
pangomm 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
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: glibmm24-devel
Requires: cairomm-devel
Requires: pango-devel
Requires: pkgconfig gtk-doc
%description devel
This package contains the libraries and header files needed for
developing pangomm applications.
%prep
%setup -q
%build
%configure %{!?_with_static: --disable-static}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -rf $RPM_BUILD_ROOT%{_libdir}/pangomm-%{apiver}
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
# Fix documentation installation, put everything under gtk-doc and fix
# relative paths.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/pangomm-%{apiver}
mv ${RPM_BUILD_ROOT}%{_docdir}/pangomm-%{apiver}/* ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/pangomm-%{apiver}/
mv ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/pangomm-%{apiver}/*.devhelp ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/pangomm-%{apiver}
sed -i 's:../../../doc/pangomm-%{apiver}/docs/:docs/:' ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/pangomm-%{apiver}/*.devhelp
rm -r ${RPM_BUILD_ROOT}%{_docdir}/pangomm-%{apiver}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, -)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root, -)
%{_includedir}/pangomm-%{apiver}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html/pangomm-%{apiver}
%changelog
* Wed Aug 27 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-2
- Spec review fixes
* Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-1
- First version

View File

@ -0,0 +1 @@
148578fbfa7286de2141f3291d64d1e3 pangomm-2.13.7.tar.bz2