]> git.pld-linux.org Git - packages/libgoffice.git/blob - libgoffice.spec
- initial
[packages/libgoffice.git] / libgoffice.spec
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+
4 Name:           libgoffice
5 Version:        0.0.2
6 Release:        1
7 Epoch:          0
8 License:        GPL v2
9 Group:          Libraries
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)
26
27 %description
28 GOffice - a Glib/Gtk+ set of document centric objects and utilities.
29
30 %description -l pl
31 GOffice - Zestaw zorientowanych dokumentowo obiektów i narzêdzi
32 Glib/Gtk+.
33
34 %package devel
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
39
40 %description devel
41 This is the package containing the development libaries and header
42 files for GOffice.
43
44 %package static
45 Summary:        Static GOffice library
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 Static GOffice library.
51
52 %prep
53 %setup -qn %{orgname}-%{version}
54
55 %build
56 %{__intltoolize}
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure \
63         --enable-static \
64         --with-gnome
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %find_lang %{orgname}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files -f %{orgname}.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS BUGS ChangeLog MAINTAINERS NEWS README
84 %{_datadir}/%{orgname}
85 %{_libdir}/goffice
86 %{_libdir}/lib*.so.*.*.*
87 %{_pixmapsdir}/goffice
88
89 %files devel
90 %defattr(644,root,root,755)
91 %{_includedir}/libgoffice-1
92 %{_libdir}/lib*.la
93 %{_libdir}/lib*.so
94 %{_pkgconfigdir}/*.pc
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
This page took 0.169746 seconds and 4 git commands to generate.