Name: goffice Version: 0.0.4 Release: 1 Summary: A glib/gtk set of document centric objects and utilities Group: System Environment/Libraries License: GPL URL: http://ftp.gnome.org/pub/GNOME/sources/goffice/0.0/ Source0: http://ftp.gnome.org/pub/GNOME/sources/goffice/0.0/goffice-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libgnomeprint22-devel libgnomeui-devel BuildRequires: libgsf-devel >= 1.12.2 BuildRequires: gettext # uncomment for cairo support #BuildRequires: cairo-devel %description GOffice -- A glib/gtk set of document centric objects and utilities There are common operations for document centric applications that are conceptually simple, but complex to implement fully. - plugins - load/save documents - undo/redo To report goffice bugs, please visit bugzilla.gnome.org. %package devel Summary: Devel header files for goffice Group: Development/Libraries Requires: libgsf-devel >= 1.12.2 Requires: libgnomeprint22-devel libgnomeui-devel Requires: %{name} = %{version}-%{release} %description devel This package contains the header files and pkgconfig file needed to compile software that uses the goffice libraries. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find %buildroot%_libdir -type f -name "*.la" -exec rm -f {} ';' %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS BUGS COPYING MAINTAINERS NEWS README %_libdir/*.so* %_libdir/goffice %_datadir/goffice %_datadir/pixmaps/goffice %files devel %defattr(-,root,root,-) %_includedir/libgoffice-1 %_libdir/pkgconfig/libgoffice-1.pc %changelog * Tue Oct 04 2005 Michael A. Peters - 0.0.4-1 - initial packaging