1 %define orgname goffice
2 Summary: Glib/Gtk+ set of document centric objects and utilities
3 Summary(pl): Zestaw zorientowanych dokumentowo obiektów i narzêdzi Glib/Gtk+
10 Source0: http://ftp.gnome.org/pub/GNOME/sources/goffice/0.0/%{orgname}-%{version}.tar.bz2
11 # Source0-md5: 48c1a8c79e062cfa8a24d99a98d3d0f8
12 BuildRequires: GConf2-devel
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gtk+2 >= 2:2.6.0
16 BuildRequires: intltool >= 0.27.2
17 BuildRequires: libart_lgpl >= 2.3.11
18 BuildRequires: libgnomeprint-devel >= 2.8.2
19 BuildRequires: libgnomeui-devel
20 BuildRequires: libgsf-gnome-devel >= 1.12.1
21 BuildRequires: libtool
22 BuildRequires: libxml2-devel >= 2.4.12
23 BuildRequires: pkgconfig
24 Requires: libgsf-gnome >= 1.12.1
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 GOffice - a Glib/Gtk+ set of document centric objects and utilities.
31 GOffice - Zestaw zorientowanych dokumentowo obiektów i narzêdzi
35 Summary: Development libraries and header files for GOffice library
36 Group: Development/Libraries
37 Requires: %{name} = %{version}
38 Requires: libgsf-gnome-devel >= 1.12.1
41 This is the package containing the development libaries and header
45 Summary: Static GOffice library
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}
50 Static GOffice library.
53 %setup -qn %{orgname}-%{version}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
81 %files -f %{orgname}.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS BUGS ChangeLog MAINTAINERS NEWS README
84 %{_datadir}/%{orgname}
86 %{_libdir}/lib*.so.*.*.*
87 %{_pixmapsdir}/goffice
90 %defattr(644,root,root,755)
91 %{_includedir}/libgoffice-1
97 %defattr(644,root,root,755)