]> git.pld-linux.org Git - packages/glibmm.git/blob - glibmm.spec
f01384f4b0915e7bde111cc3bf82cc9ead5f0aa0
[packages/glibmm.git] / glibmm.spec
1 %bcond_without  static  # don't build static library
2 Summary:        A C++ interface for glib library
3 Summary(pl):    Interfejs C++ dla biblioteki glib
4 Name:           glibmm
5 Version:        2.6.1
6 Release:        2
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.6/%{name}-%{version}.tar.bz2
10 # Source0-md5:  e37da352bf581503c5866f0231fd4a74
11 URL:            http://gtkmm.sourceforge.net/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel >= 1:2.6.3
15 BuildRequires:  libsigc++-devel >= 1:2.0.10
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  libtool >= 2:1.4d
18 BuildRequires:  perl-XML-Parser
19 BuildRequires:  pkgconfig
20 Obsoletes:      gtkmm-glib
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 A C++ interface for glib library.
25
26 %description -l pl
27 Interfejs C++ dla biblioteki glib.
28
29 %package devel
30 Summary:        Header files for glibmm library
31 Summary(pl):    Pliki nag³ówkowe biblioteki glibmm
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       glib2-devel >= 1:2.6.3
35 Requires:       libsigc++-devel >= 1:2.0.10
36 Requires:       libstdc++-devel
37 Obsoletes:      gtkmm-glib-devel
38
39 %description devel
40 Header files for glibmm library.
41
42 %description devel -l pl
43 Pliki nag³ówkowe biblioteki glibmm.
44
45 %package doc
46 Summary:        Reference documentation and examples for glibmm
47 Summary(pl):    Szczegó³owa dokumentacja i przyk³ady dla glibmm
48 Group:          Documentation
49
50 %description doc
51 Reference documentation and examples for glibmm.
52
53 %description doc -l pl
54 Szczegó³owa dokumentacja i przyk³ady dla glibmm.
55
56 %package static
57 Summary:        Static glibmm library
58 Summary(pl):    Statyczna biblioteka glibmm
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61 Obsoletes:      gtkmm-glib-static
62
63 %description static
64 Static glibmm library.
65
66 %description static -l pl
67 Statyczna biblioteka glibmm.
68
69 %prep
70 %setup -q
71
72 %build
73 %{__libtoolize}
74 %{__aclocal} -I scripts
75 %{__autoconf}
76 %{__automake}
77 %configure \
78         --enable-fulldocs \
79         --enable-static \
80         %{!?with_static:--disable-static}
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT \
88         gtkmm_docdir=%{_gtkdocdir}/%{name}-2.4 \
89         glibmm_docdir=%{_examplesdir}/%{name}-%{version}
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 CHANGES NEWS README
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106 %dir %{_libdir}/%{name}-2.4
107 %{_libdir}/%{name}-2.4/include
108 %dir %{_libdir}/%{name}-2.4/proc
109 %{_libdir}/%{name}-2.4/proc/m4
110 %{_libdir}/%{name}-2.4/proc/pm
111 %attr(755,root,root) %{_libdir}/%{name}-2.4/proc/gmmproc
112 %attr(755,root,root) %{_libdir}/%{name}-2.4/proc/*.pl
113 %{_includedir}/%{name}-2.4
114 %{_pkgconfigdir}/*.pc
115 %{_aclocaldir}/*.m4
116
117 %files doc
118 %defattr(644,root,root,755)
119 %{_gtkdocdir}/%{name}-2.4
120 %{_examplesdir}/%{name}-%{version}
121
122 %if %{with static}
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/lib*.a
126 %endif
This page took 0.066732 seconds and 2 git commands to generate.