]> git.pld-linux.org Git - packages/libgoffice.git/blob - libgoffice.spec
- 0.1.1
[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.1.1
6 Release:        1
7 Epoch:          0
8 License:        GPL v2
9 Group:          Libraries
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/goffice/0.1/%{orgname}-%{version}.tar.bz2
11 # Source0-md5:  09d6c6b7f9e3042d68026dc362955d14
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.13.3
21 BuildRequires:  libtool 
22 BuildRequires:  libxml2-devel >= 2.4.12
23 BuildRequires:  pkgconfig
24 Requires:       libgsf-gnome >= 1.13.3
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:        Header files for GOffice library
36 Summary(pl):    Pliki nag³ówkowe biblioteki GOffice
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       libgsf-gnome-devel >= 1.12.3
40
41 %description devel
42 This is the package containing the header files for GOffice.
43
44 %description devel -l pl
45 Ten pakiet zawiera pliki nag³ówkowe GOffice.
46
47 %package static
48 Summary:        Static GOffice library
49 Summary(pl):    Statyczna biblioteka GOffice
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}-%{release}
52
53 %description static
54 Static GOffice library.
55
56 %description static -l pl
57 Statyczna biblioteka GOffice.
58
59 %prep
60 %setup -qn %{orgname}-%{version}
61
62 %build
63 %{__intltoolize}
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure \
70         --enable-static \
71         --with-gnome
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 rm -f $RPM_BUILD_ROOT%{_libdir}/goffice/%{version}/plugins/*/*.{a,la}
81 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
82
83 %find_lang %{orgname}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files -f %{orgname}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS BUGS ChangeLog MAINTAINERS NEWS README
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
95 %dir %{_libdir}/goffice
96 %dir %{_libdir}/goffice/%{version}
97 %dir %{_libdir}/goffice/%{version}/plugins
98 %dir %{_libdir}/goffice/%{version}/plugins/*
99 %attr(755,root,root) %{_libdir}/goffice/%{version}/plugins/*/*.so
100 %{_libdir}/goffice/%{version}/plugins/*/*.glade
101 %{_libdir}/goffice/%{version}/plugins/*/*.xml
102 %{_datadir}/%{orgname}
103 %{_pixmapsdir}/goffice
104
105 %files devel
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_libdir}/lib*.la
109 %{_includedir}/libgoffice-1
110 %{_pkgconfigdir}/*.pc
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.059649 seconds and 3 git commands to generate.