]>
Commit | Line | Data |
---|---|---|
1 | Summary: Bonobo configuration moniker | |
2 | Summary(pl.UTF-8): Narzędzie konfiguracyjne Bonobo | |
3 | Name: bonobo-conf | |
4 | Version: 0.16 | |
5 | Release: 2 | |
6 | License: GPL | |
7 | Group: X11/Libraries | |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/bonobo-conf/%{version}/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 03467d42b8a74d379cfef238017eb862 | |
10 | Patch0: %{name}-am15.patch | |
11 | Patch1: %{name}-locale_names.patch | |
12 | URL: http://www.gnome.org/ | |
13 | BuildRequires: GConf-devel >= 0.11 | |
14 | BuildRequires: audiofile-devel | |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRequires: bonobo-devel >= 1.0.0 | |
18 | BuildRequires: esound-devel | |
19 | BuildRequires: gettext-devel | |
20 | BuildRequires: glib-devel >= 1.2.0 | |
21 | BuildRequires: gtk+-devel >= 1.2.0 | |
22 | BuildRequires: intltool | |
23 | BuildRequires: libtool | |
24 | BuildRequires: oaf-devel >= 0.6.2 | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | Obsoletes: libbonobo-conf0 | |
27 | ||
28 | %description | |
29 | Bonobo configuration moniker. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Narzędzie konfiguracyjne Bonobo. | |
33 | ||
34 | %package devel | |
35 | Summary: Include files for the configuration moniker | |
36 | Summary(pl.UTF-8): Pliki nagłówkowe dla bibliotek narzędzia konfiguracyjnego Bonobo | |
37 | Group: X11/Development/Libraries | |
38 | Requires: %{name} = %{version}-%{release} | |
39 | Obsoletes: libbonobo-conf0-devel | |
40 | ||
41 | %description devel | |
42 | This package provides the necessary development libraries and include | |
43 | files to allow you to develop programs using the Bonobo configuration | |
44 | moniker. | |
45 | ||
46 | %description devel -l pl.UTF-8 | |
47 | Biblioteki i pliki nagłówkowe potrzebne do programowania z użyciem | |
48 | bibliotek narzędzia konfiguracyjnego Bonobo. | |
49 | ||
50 | %package static | |
51 | Summary: Static libraries for the configuration moniker | |
52 | Summary(pl.UTF-8): Statyczne biblioteki narzędzia konfiguracyjnego Bonobo | |
53 | Group: X11/Development/Libraries | |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
57 | Static libraries for the configuration moniker. | |
58 | ||
59 | %description static -l pl.UTF-8 | |
60 | Statyczne biblioteki narzędzia konfiguracyjnego Bonobo. | |
61 | ||
62 | %prep | |
63 | %setup -q | |
64 | %patch0 -p1 | |
65 | %patch1 -p1 | |
66 | ||
67 | mv -f po/{no,nb}.po | |
68 | ||
69 | %build | |
70 | %{__gettextize} | |
71 | %{__libtoolize} | |
72 | xml-i18n-toolize --force | |
73 | %{__aclocal} -I macros | |
74 | %{__autoconf} | |
75 | %{__automake} | |
76 | %configure | |
77 | ||
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.{a,la} | |
87 | ||
88 | %find_lang %{name} | |
89 | ||
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files -f %{name}.lang | |
97 | %defattr(644,root,root,755) | |
98 | %doc AUTHORS ChangeLog NEWS README | |
99 | %attr(755,root,root) %{_bindir}/* | |
100 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
101 | %attr(755,root,root) %{_libdir}/bonobo/monikers/*.so* | |
102 | %{_datadir}/oaf/*.oaf | |
103 | ||
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_libdir}/*.so | |
107 | %{_libdir}/*.la | |
108 | %attr(755,root,root) %{_libdir}/*.sh | |
109 | %{_includedir}/bonobo-conf | |
110 | %{_datadir}/idl/*.idl | |
111 | ||
112 | %files static | |
113 | %defattr(644,root,root,755) | |
114 | %{_libdir}/*.a |