]> git.pld-linux.org Git - SPECS.git/blob - libbonobomm.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libbonobomm.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        A C++ interface for the libbonobo
6 Summary(pl.UTF-8):      Interfejs C++ dla libbonobo
7 Name:           libbonobomm
8 Version:        1.3.8
9 Release:        3
10 License:        LGPL
11 Group:          X11/Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libbonobomm/1.3/%{name}-%{version}.tar.bz2
13 # Source0-md5:  b464048a99191e0ce3ad8504f460731f
14 Patch0:         %{name}-gtkmm24.patch
15 Patch1:         %{name}-gcc34.patch
16 Patch2:         %{name}-orbit2.patch
17 URL:            http://gtkmm.sourceforge.net/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  glibmm-devel >= 2.4.0
21 BuildRequires:  libbonobo-devel >= 2.4.0
22 BuildRequires:  libtool
23 BuildRequires:  orbitcpp-devel >= 1.3.9
24 BuildRequires:  pkgconfig
25 Requires:       cpp
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This package provides a C++ interface for libbonobo library.
30
31 %description -l pl.UTF-8
32 Ten pakiet dostarcza interfejs C++ dla biblioteki libbonobo.
33
34 %package devel
35 Summary:        Header files for libbonobomm library
36 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libbonobomm
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       glibmm-devel >= 2.4.0
40 Requires:       libbonobo-devel >= 2.4.0
41 Requires:       orbitcpp-devel >= 1.3.9
42
43 %description devel
44 Header files for libbonobomm library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki libbonobomm.
48
49 %package static
50 Summary:        libbonobomm static libraries
51 Summary(pl.UTF-8):      Biblioteki statyczne libbonobomm
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 libbonobomm static libraries.
57
58 %description static -l pl.UTF-8
59 Biblioteki statyczne libbonobomm.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66
67 %build
68 # exceptions and rtti are used in this package --misiek
69 %{__libtoolize}
70 %{__aclocal} -I scripts
71 %{__autoconf}
72 %{__automake}
73 %configure \
74         --enable-static \
75         %{!?with_static_libs:--disable-static}
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         pkgconfigdir=%{_pkgconfigdir}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc README ChangeLog AUTHORS NEWS
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/lib*.so
99 %{_libdir}/lib*.la
100 %{_libdir}/libbonobomm-*
101 %{_libdir}/glibmm-*/proc/m4/*
102 %{_includedir}/libbonobomm-2.0
103 %{_pkgconfigdir}/*.pc
104
105 %if %{with static_libs}
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
109 %endif
This page took 0.435092 seconds and 3 git commands to generate.