]> git.pld-linux.org Git - packages/bonobo-conf.git/blob - bonobo-conf.spec
perl -pi -e "s/^gettextize --copy --force/\%%\{__gettextize\}/"
[packages/bonobo-conf.git] / bonobo-conf.spec
1 Summary:        Bonobo configuration moniker
2 Summary(pl):    Narzêdzie konfiguracyjne Bonobo
3 Name:           bonobo-conf
4 Version:        0.14
5 Release:        4
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        ftp://ftp.gnome.org/pub/GNOME/unstable/sources/%{name}/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-am15.patch
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf-devel >= 0.11
12 BuildRequires:  audiofile-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  bonobo-devel >= 1.0.0
17 BuildRequires:  esound-devel
18 BuildRequires:  gettext-devel
19 BuildRequires:  oaf-devel >= 0.6.2
20 BuildRequires:  glib-devel >= 1.2.0
21 BuildRequires:  gtk+-devel >= 1.2.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Obsoletes:      libbonobo-conf0
24
25 %define         _prefix         /usr/X11R6
26 %define         _mandir         %{_prefix}/man
27
28 %description
29 Bonobo configuration moniker.
30
31 %description -l pl
32 Narzêdzie konfiguracyjne Bonobo.
33
34 %package devel
35 Summary:        Include files for the configuration moniker
36 Summary(pl):    Pliki nag³ówkowe dla bibliotek narzêdzia konfiguracyjnego Bonobo
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{version}
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
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):    Statyczne biblioteki narzêdzia konfiguracyjnego Bonobo
53 Group:          X11/Development/Libraries
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 Static libraries for the configuration moniker.
58
59 %description static -l pl
60 Statyczne biblioteki narzêdzia konfiguracyjnego Bonobo.
61
62 %prep
63 %setup  -q
64 %patch0 -p1
65
66 %build
67 rm -f missing
68 %{__gettextize}
69 %{__libtoolize}
70 xml-i18n-toolize --force
71 aclocal -I macros
72 %{__autoconf}
73 %{__automake}
74 %configure
75
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install DESTDIR=$RPM_BUILD_ROOT
82
83 gzip -9nf AUTHORS ChangeLog NEWS README
84
85 %find_lang %{name}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/*
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97 %attr(755,root,root) %{_libdir}/bonobo/monikers/*.so*
98 %{_datadir}/oaf/*.oaf
99
100 %files devel
101 %defattr(644,root,root,755)
102 %doc *.gz
103 %attr(755,root,root) %{_libdir}/*.so
104 %attr(755,root,root) %{_libdir}/*.la
105 %attr(755,root,root) %{_libdir}/bonobo/monikers/*.la
106 %attr(755,root,root) %{_libdir}/*.sh
107 %{_includedir}/bonobo-conf
108 %{_datadir}/idl/*.idl
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/*.a
113 %{_libdir}/bonobo/monikers/*.a
This page took 0.071935 seconds and 4 git commands to generate.