Author: freetz Date: Mon Jul 11 15:19:20 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: libgoffice.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libgoffice.spec diff -u /dev/null SPECS/libgoffice.spec:1.1 --- /dev/null Mon Jul 11 17:19:20 2005 +++ SPECS/libgoffice.spec Mon Jul 11 17:19:15 2005 @@ -0,0 +1,109 @@ +# $Revision$, $Date$ +%define orgname goffice +Summary: Glib/Gtk+ set of document centric objects and utilities +Summary(pl): Zestaw zorientowanych dokumentowo obiektów i narzędzi Glib/Gtk+ +Name: libgoffice +Version: 0.0.2 +Release: 1 +Epoch: 0 +License: GPL v2 +Group: Libraries +Source0: http://ftp.gnome.org/pub/GNOME/sources/goffice/0.0/%{orgname}-%{version}.tar.bz2 +# Source0-md5: 48c1a8c79e062cfa8a24d99a98d3d0f8 +BuildRequires: GConf2-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gtk+2 >= 2:2.6.0 +BuildRequires: intltool >= 0.27.2 +BuildRequires: libart_lgpl >= 2.3.11 +BuildRequires: libgnomeprint-devel >= 2.8.2 +BuildRequires: libgnomeui-devel +BuildRequires: libgsf-gnome-devel >= 1.12.1 +BuildRequires: libtool +BuildRequires: libxml2-devel >= 2.4.12 +BuildRequires: pkgconfig +Requires: libgsf-gnome >= 1.12.1 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +GOffice - a Glib/Gtk+ set of document centric objects and utilities. + +%description -l pl +GOffice - Zestaw zorientowanych dokumentowo obiektów i narzędzi +Glib/Gtk+. + +%package devel +Summary: Development libraries and header files for GOffice library +Group: Development/Libraries +Requires: %{name} = %{version} +Requires: libgsf-gnome-devel >= 1.12.1 + +%description devel +This is the package containing the development libaries and header +files for GOffice. + +%package static +Summary: Static GOffice library +Group: Development/Libraries +Requires: %{name}-devel = %{version} + +%description static +Static GOffice library. + +%prep +%setup -qn %{orgname}-%{version} + +%build +%{__intltoolize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --enable-static \ + --with-gnome +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{orgname} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{orgname}.lang +%defattr(644,root,root,755) +%doc AUTHORS BUGS ChangeLog MAINTAINERS NEWS README +%{_datadir}/%{orgname} +%{_libdir}/goffice +%{_libdir}/lib*.so.*.*.* +%{_pixmapsdir}/goffice + +%files devel +%defattr(644,root,root,755) +%{_includedir}/libgoffice-1 +%{_libdir}/lib*.la +%{_libdir}/lib*.so +%{_pkgconfigdir}/*.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/07/11 15:19:15 freetz +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
