]> git.pld-linux.org Git - packages/bonobo-conf.git/blob - bonobo-conf.spec
- spec completly rewrited.
[packages/bonobo-conf.git] / bonobo-conf.spec
1 Summary:        Bonobo configuration moniker
2 Summary(pl):    Narzedzie konfiguracyjne Bonobo
3 Name:           bonobo-conf
4 Version:        0.9
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Group(de):      X11/Libraries
9 Group(es):      X11/Bibliotecas
10 Group(fr):      X11/Librairies
11 Group(pl):      X11/Biblioteki
12 Source0:        ftp://ftp.gnome.org/pub/GNOME/unstable/sources/%{name}/%{name}-%{version}.tar.bz2
13 Patch0:         %{name}-ac_fixes.patch
14 Patch1:         %{name}-ac_workaround.patch
15 URL:            http://www.gnome.org/
16 BuildRequires:  GConf-devel >= 0.11
17 BuildRequires:  audiofile-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  bonobo-devel >= 1.0.0
21 BuildRequires:  esound-devel
22 BuildRequires:  gettext-devel
23 BuildRequires:  oaf-devel >= 0.6.2
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27 %define         _mandir         %{_prefix}/man
28
29 %description
30 Bonobo configuration moniker.
31
32 %description -l pl
33 Narzedzie konfiguracyjne Bonobo
34
35 %package devel
36 Summary:        Libraries and include files for the configuration moniker
37 Group:          X11/Development/Libraries
38 Group(de):      X11/Entwicklung/Libraries
39 Group(pl):      X11/Programowanie/Biblioteki
40 Requires:       %{name} = %{version}
41
42 %description devel
43 This package provides the necessary development libraries and include
44 files to allow you to develop programs using the Bonobo configuration
45 moniker.
46
47 %description devel -l pl
48 Biblioteki i pliki nag³ówkowe potrzebne do programowania.
49
50 %package static
51 Summary:        Static libraries for the configuration moniker
52 Group:          X11/Development/Libraries
53 Group(de):      X11/Entwicklung/Libraries
54 Group(pl):      X11/Programowanie/Biblioteki
55 Requires:       %{name}-devel = %{version}
56
57 %description static
58 Static libraries for the configuration moniker.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63 %patch1 -p1
64
65 %build
66 rm -f missing
67 gettextize --copy --force
68 libtoolize --copy --force
69 aclocal -I macros
70 autoconf
71 automake -a -c
72 %configure
73
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install DESTDIR=$RPM_BUILD_ROOT
80
81 gzip -9nf AUTHORS ChangeLog NEWS README
82
83 %find_lang %{name}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
95 %attr(755,root,root) %{_libdir}/bonobo/monikers/*.so*
96 %{_datadir}/oaf/*.oaf
97
98 %files devel
99 %defattr(644,root,root,755)
100 %doc *.gz
101 %attr(755,root,root) %{_libdir}/*.so
102 %attr(755,root,root) %{_libdir}/*.la
103 %attr(755,root,root) %{_libdir}/bonobo/monikers/*.la
104 %attr(755,root,root) %{_libdir}/*.sh
105 %{_includedir}/bonobo-conf
106 %{_datadir}/idl/*.idl
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/*.a
111 %{_libdir}/bonobo/monikers/*.a
This page took 0.030138 seconds and 4 git commands to generate.