]> git.pld-linux.org Git - packages/libbonoboui.git/blob - libbonoboui.spec
- partialy rewrited,
[packages/libbonoboui.git] / libbonoboui.spec
1 %define libxml2_version 2.4.12
2 %define orbit2_version 2.3.103
3 %define bonobo_activation_version 0.9.3.91
4 %define libbonobo_version 1.110.0
5 %define libgnomecanvas_version 1.110.0
6 %define libgnome_version 1.110.0
7 %define libart_lgpl_version 2.3.8
8 %define gtk2_version 1.3.13
9 %define libglade2_version 1.99.5.90
10
11 Summary:        Bonobo user interface components
12 Name:           libbonoboui
13 Version:        1.110.0
14 Release:        4
15 License:        LGPL
16 Group:          X11/Libraries
17 Group(de):      X11/Libraries
18 Group(es):      X11/Bibliotecas
19 Group(fr):      X11/Librairies
20 Group(pl):      X11/Biblioteki
21 Group(pt_BR):   X11/Bibliotecas
22 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
23 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
24 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/libbonoboui/%{name}-%{version}.tar.bz2
25 URL:            http://www.gnome.org/
26 Requires:       libxml2 >= %{libxml2_version}
27 Requires:       ORBit2 >= %{orbit2_version}
28 Requires:       bonobo-activation >= %{bonobo_activation_version}
29 Requires:       libbonobo >= %{libbonobo_version}
30 Requires:       libgnomecanvas >= %{libgnomecanvas_version}
31 Requires:       libgnome >= %{libgnome_version}
32 Requires:       libart_lgpl >= %{libart_lgpl_version}
33 Requires:       gtk2 >= %{gtk2_version}
34 Requires:       libglade2 >= %{libglade2_version}
35 BuildPreReq:    libxml2-devel >= %{libxml2_version}
36 BuildPreReq:    ORBit2-devel >= %{orbit2_version}
37 BuildPreReq:    bonobo-activation-devel >= %{bonobo_activation_version}
38 BuildPreReq:    libbonobo-devel >= %{libbonobo_version}
39 BuildPreReq:    libgnomecanvas-devel >= %{libgnomecanvas_version}
40 BuildPreReq:    libgnome-devel >= %{libgnome_version}
41 BuildPreReq:    libart_lgpl-devel >= %{libart_lgpl_version}
42 BuildPreReq:    gtk2-devel >= %{gtk2_version}
43 BuildPreReq:    libglade2-devel >= %{libglade2_version}
44 BuildPreReq:    intltool >= 0.14-1
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %define         _prefix         /usr/X11R6
48 %define         _mandir         %{_prefix}/man
49
50 %description
51 Bonobo is a component system based on CORBA, used by the GNOME
52 desktop. libbonoboui contains the user interface related components
53 that come with Bonobo.
54
55 %package devel
56 Summary:        Libraries and headers for libbonoboui
57 Group:          X11/Development/Libraries
58 Group(de):      X11/Entwicklung/Libraries
59 Group(es):      X11/Desarrollo/Bibliotecas
60 Group(fr):      X11/Development/Librairies
61 Group(pl):      X11/Programowanie/Biblioteki
62 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
63 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
64 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
65 Requires:       %name = %{version}
66 Requires:       libxml2-devel >= %{libxml2_version}
67 Requires:       ORBit2-devel >= %{orbit2_version}
68 Requires:       bonobo-activation-devel >= %{bonobo_activation_version}
69 Requires:       libbonobo-devel >= %{libbonobo_version}
70 Requires:       libgnomecanvas-devel >= %{libgnomecanvas_version}
71 Requires:       libgnome-devel >= %{libgnome_version}
72 Requires:       libart_lgpl-devel >= %{libart_lgpl_version}
73 Requires:       gtk2-devel >= %{gtk2_version}
74 Requires:       libglade2-devel >= %{libglade2_version}
75 Conflicts:      bonobo-devel < 1.0.8
76
77 %description devel
78 Bonobo is a component system based on CORBA, used by the GNOME
79 desktop. libbonoboui contains GUI components that come with Bonobo.
80
81 This package contains header files used to compile programs that use
82 libbonoboui.
83
84 %prep
85 %setup -q
86
87 %build
88 # intltool 0.13 wants NDBM_File, which we don't include 
89 intltoolize --force --copy
90 %configure 
91
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 %find_lang %{name}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post   -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
107
108 %files -f %{name}.lang
109 %defattr(644,root,root,755)
110
111 %doc AUTHORS ChangeLog NEWS README
112
113 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114 %{_libdir}/libglade/2.0/*
115 %{_libdir}/bonobo
116 %{_datadir}/gnome-2.0
117
118 %files devel
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/*
121 %attr(755,root,root) %{_libdir}/lib*.so
122 %attr(755,root,root) %{_libdir}/lib*.la
123 %{_libdir}/lib*.a
124 %{_libdir}/pkgconfig/*
125 %{_includedir}/*
This page took 0.076241 seconds and 3 git commands to generate.