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