]> git.pld-linux.org Git - packages/gconfmm.git/blob - gconfmm.spec
- unconditional noarch subpackages
[packages/gconfmm.git] / gconfmm.spec
1 Summary:        C++ wrappers for GConf
2 Summary(pl.UTF-8):      Interfejsy C++ dla GConfa
3 Name:           gconfmm
4 Version:        2.28.3
5 Release:        3
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gconfmm/2.28/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ebcf96373cb0c71bc4cfad0e6da83779
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf2-devel >= 2.19.1
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  glibmm-devel >= 2.14.1
15 BuildRequires:  gtkmm-devel >= 2.4.0
16 BuildRequires:  libtool >= 2:1.4d
17 BuildRequires:  mm-common >= 0.9.5
18 BuildRequires:  pkgconfig
19 Requires:       GConf2-libs >= 2.19.1
20 Requires:       glibmm >= 2.14.1
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 C++ wrappers for GConf. All classes are in the Gnome::Conf namespace.
25
26 %description -l pl.UTF-8
27 Interfejsy C++ dla GConfa. Wszystkie klasy są w przestrzeni nazw
28 Gnome::Conf.
29
30 %package devel
31 Summary:        Devel files for gconfmm
32 Summary(pl.UTF-8):      Pliki nagłówkowe dla gconfmm
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       GConf2-devel >= 2.19.1
36 Requires:       glibmm-devel >= 2.14.1
37
38 %description devel
39 Devel files for gconfmm.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe dla gconfmm.
43
44 %package static
45 Summary:        Static gconfmm library
46 Summary(pl.UTF-8):      Statyczna biblioteka gconfmm
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static gconfmm library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka gconfmm.
55
56 %package apidocs
57 Summary:        Reference documentation for gconfmm
58 Summary(pl.UTF-8):      Szczegółowa dokumentacja dla gconfmm
59 Group:          Documentation
60 Requires:       gtk-doc-common
61 BuildArch:      noarch
62
63 %description apidocs
64 Reference documentation for gconfmm.
65
66 %description apidocs -l pl.UTF-8
67 Szczegółowa dokumentacja dla gconfmm.
68
69 %prep
70 %setup -q
71
72 %build
73 %{__libtoolize}
74 %{__aclocal} -I build
75 %{__autoconf}
76 %{__automake}
77 %configure \
78         --enable-static
79
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT \
87         libdocdir=%{_gtkdocdir}/gconfmm-2.6
88
89 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog NEWS README
100 %attr(755,root,root) %{_libdir}/libgconfmm-2.6.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libgconfmm-2.6.so.1
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libgconfmm-2.6.so
106 %{_libdir}/%{name}-2.6
107 %{_includedir}/%{name}-2.6
108 %{_pkgconfigdir}/%{name}-2.6.pc
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libgconfmm-2.6.a
113
114 %files apidocs
115 %defattr(644,root,root,755)
116 %{_gtkdocdir}/gconfmm-2.6
This page took 0.063819 seconds and 3 git commands to generate.