]> git.pld-linux.org Git - packages/glibmm.git/blob - glibmm.spec
- separated -doc from -devel (3.5MB vs 0.6MB)
[packages/glibmm.git] / glibmm.spec
1 Summary:        A C++ interface for glib library
2 Summary(pl):    Interfejs C++ dla biblioteki glib
3 Name:           glibmm
4 Version:        2.4.0
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4fa0b7e26b65a2a8551060883a575a57
10 URL:            http://gtkmm.sourceforge.net/
11 BuildRequires:  glib2-devel >= 1:2.4.0
12 Buildrequires:  libsigc++-devel >= 1:2.0.0
13 Obsoletes:      gtkmm-glib
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A C++ interface for glib library.
18
19 %description -l pl
20 Interfejs C++ dla biblioteki glib.
21
22 %package devel
23 Summary:        Header files for glibmm library
24 Summary(pl):    Pliki nag³ówkowe biblioteki glibmm
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27 Requires:       glib2-devel >= 1:2.4.0
28 Requires:       libsigc++-devel >= 1:2.0.0
29 Requires:       libstdc++-devel
30 Obsoletes:      gtkmm-glib-devel
31
32 %description devel
33 Header files for glibmm library.
34
35 %description devel -l pl
36 Pliki nag³ówkowe biblioteki glibmm.
37
38 %package doc
39 Summary:        Reference documentation and examples for glibmm
40 Summary(pl):    Szczegó³owa dokumentacja i przyk³ady dla glibmm
41 Group:          Documentation
42 Requires:       devhelp
43
44 %description doc
45 Reference documentation and examples for glibmm.
46
47 %description doc -l pl
48 Szczegó³owa dokumentacja i przyk³ady dla glibmm.
49
50 %package static
51 Summary:        Static glibmm library
52 Summary(pl):    Statyczna biblioteka glibmm
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55 Obsoletes:      gtkmm-glib-static
56
57 %description static
58 Static glibmm library.
59
60 %description static -l pl
61 Statyczna biblioteka glibmm.
62
63 %prep
64 %setup -q
65
66 %build
67 %configure \
68         --enable-fulldocs \
69         --enable-static
70
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT \
78         gtkmm_docdir=%{_gtkdocdir}/%{name}-2.4 \
79         glibmm_docdir=%{_examplesdir}/%{name}-%{version}
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog CHANGES NEWS README
90 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
91
92 %files devel
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/lib*.so
95 %{_libdir}/lib*.la
96 %dir %{_libdir}/%{name}-2.4
97 %{_libdir}/%{name}-2.4/include
98 %dir %{_libdir}/%{name}-2.4/proc
99 %{_libdir}/%{name}-2.4/proc/m4
100 %{_libdir}/%{name}-2.4/proc/pm
101 %attr(755,root,root) %{_libdir}/%{name}-2.4/proc/gmmproc
102 %attr(755,root,root) %{_libdir}/%{name}-2.4/proc/*.pl
103 %{_includedir}/%{name}-2.4
104 %{_pkgconfigdir}/*.pc
105 %{_aclocaldir}/*.m4
106
107 %files doc
108 %defattr(644,root,root,755)
109 %{_gtkdocdir}/%{name}-2.4
110 %{_examplesdir}/%{name}-%{version}
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.074847 seconds and 4 git commands to generate.