]> git.pld-linux.org Git - packages/gtkmm.git/blob - gtkmm.spec
4759910102f387f029a08389060245f02410e554
[packages/gtkmm.git] / gtkmm.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        A C++ interface for the GTK+ (a GUI library for X)
3 Summary(pl):    Wrapper C++ dla GTK+
4 Name:           gtkmm
5 Version:        2.4.7
6 Release:        1
7 License:        LGPL
8 Group:          X11/Libraries
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/%{name}-%{version}.tar.bz2
10 # Source0-md5:  7aedecbf6878a7fa88b0ed636a7b9342
11 Patch0:         %{name}-link.patch
12 URL:            http://gtkmm.sourceforge.net/
13 BuildRequires:  atk-devel >= 1.6.1
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  glibmm-devel >= 2.4.4
17 BuildRequires:  graphviz
18 BuildRequires:  gtk+2-devel >= 2:2.4.4
19 BuildRequires:  libstdc++-devel >= 5:3.3.1
20 BuildRequires:  libtool >= 2:1.4d-3
21 BuildRequires:  pango-devel >= 1:1.4.0
22 BuildRequires:  perl-base >= 1:5.6.0
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-perlprov >= 3.0.3-16
25 Requires:       %{name}-atk = %{version}-%{release}
26 Requires:       %{name}-pango = %{version}-%{release}
27 Requires:       cpp
28 Requires:       glibmm >= 2.4.4
29 Obsoletes:      Gtk--
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
34 library. The interface provides a convenient interface for C++
35 programmers to create GUIs with GTK+'s flexible object-oriented
36 framework. Features include type safe callbacks, widgets that are
37 extensible using inheritance and over 110 classes that can be freely
38 combined to quickly create complex user interfaces.
39
40 %description -l pl
41 GTK-- jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest bibliotek±
42 s³u¿±c± do tworzenia graficznych interfejsów. W pakiecie znajduje siê
43 tak¿e biblioteka GDK-- - wrapper C++ dla GDK (General Drawing Kit).
44
45 %package devel
46 Summary:        GTK-- and GDK-- header files, development documentation
47 Summary(pl):    Pliki nag³ówkowe GTK-- i GDK--, dokumentacja dla programistów
48 Group:          X11/Development/Libraries
49 Requires:       %{name} = %{version}-%{release}
50 Requires:       %{name}-atk-devel = %{version}-%{release}
51 Requires:       %{name}-pango-devel = %{version}-%{release}
52 Requires:       glibmm-devel >= 2.4.4
53 Requires:       gtk+2-devel >= 2:2.4.4
54 Requires:       libsigc++-devel >= 1:2.0.3
55
56 %description devel
57 Header files and development documentation for GTK-- library.
58
59 %description devel -l pl
60 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
61
62 %package doc
63 Summary:        Reference documentation and examples for GTK-- and GDK--
64 Summary(pl):    Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--
65 Group:          Documentation
66 Requires:       devhelp
67
68 %description doc
69 Reference documentation and examples for GTK-- and GDK--.
70
71 %description doc -l pl
72 Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--.
73
74 %package static
75 Summary:        GTK-- and GDK-- static libraries
76 Summary(pl):    Biblioteki statyczne GTK-- i GDK--
77 Group:          X11/Development/Libraries
78 Requires:       %{name}-devel = %{version}-%{release}
79
80 %description static
81 GTK-- and GDK-- static libraries.
82
83 %description static -l pl
84 Biblioteki statyczne GTK-- i GDK--.
85
86 %package atk
87 Summary:        A C++ interface for atk library
88 Summary(pl):    Interfejs C++ dla biblioteki atk
89 Group:          X11/Development/Libraries
90 Requires:       glibmm >= 2.4.4
91
92 %description atk
93 A C++ interface for atk library.
94
95 %description atk -l pl
96 Interfejs C++ dla biblioteki atk.
97
98 %package atk-devel
99 Summary:        A C++ interface for atk library - header files
100 Summary(pl):    Interfejs C++ dla biblioteki atk - pliki nag³ówkowe
101 Group:          X11/Development/Libraries
102 Requires:       %{name}-atk = %{version}-%{release}
103 Requires:       atk-devel >= 1.6.1
104 Requires:       glibmm-devel >= 2.4.4
105
106 %description atk-devel
107 A C++ interface for atk library - header files.
108
109 %description atk-devel -l pl
110 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
111
112 %package atk-static
113 Summary:        A C++ interface for atk library - static version
114 Summary(pl):    Interfejs C++ dla biblioteki atk - wersja statyczna
115 Group:          X11/Development/Libraries
116 Requires:       %{name}-atk-devel = %{version}-%{release}
117
118 %description atk-static
119 A C++ interface for atk library - static version.
120
121 %description atk-static -l pl
122 Interfejs C++ dla biblioteki atk - wersja statyczna.
123
124 %package pango
125 Summary:        A C++ interface for pango library
126 Summary(pl):    Interfejs C++ dla biblioteki pango
127 Group:          X11/Development/Libraries
128 Requires:       glibmm >= 2.4.4
129
130 %description pango
131 A C++ interface for pango library.
132
133 %description pango -l pl
134 Interfejs C++ dla biblioteki pango.
135
136 %package pango-devel
137 Summary:        A C++ interface for pango library - header files
138 Summary(pl):    Interfejs C++ dla biblioteki pango - pliki nag³ówkowe
139 Group:          X11/Development/Libraries
140 Requires:       %{name}-pango = %{version}-%{release}
141 Requires:       glibmm-devel >= 2.4.4
142 Requires:       pango-devel >= 1:1.4.0
143
144 %description pango-devel
145 A C++ interface for pango library - header files.
146
147 %description pango-devel -l pl
148 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
149
150 %package pango-static
151 Summary:        A C++ interface for pango library - static version
152 Summary(pl):    Interfejs C++ dla biblioteki pango - wersja statyczna
153 Group:          X11/Development/Libraries
154 Requires:       %{name}-pango-devel = %{version}-%{release}
155
156 %description pango-static
157 A C++ interface for pango library - static version.
158
159 %description pango-static -l pl
160 Interfejs C++ dla biblioteki pango - wersja statyczna.
161
162 %prep
163 %setup -q
164 %patch0 -p1
165
166 %build
167 %{__libtoolize}
168 %{__aclocal} -I scripts
169 %{__autoconf}
170 %{__autoheader}
171 %{__automake}
172 # exceptions and rtti are used in this package --misiek
173 %configure \
174         --enable-static=yes
175 %{__make}
176
177 %install
178 rm -rf $RPM_BUILD_ROOT
179 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
180
181 %{__make} install \
182         DESTDIR=$RPM_BUILD_ROOT \
183         pkgconfigdir=%{_pkgconfigdir}
184
185 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.4/{examples,tests} \
186         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
187
188 %clean
189 rm -rf $RPM_BUILD_ROOT
190
191 %post   -p /sbin/ldconfig
192 %postun -p /sbin/ldconfig
193
194 %post   atk -p /sbin/ldconfig
195 %postun atk -p /sbin/ldconfig
196
197 %post   pango -p /sbin/ldconfig
198 %postun pango -p /sbin/ldconfig
199
200 %files
201 %defattr(644,root,root,755)
202 %doc AUTHORS ChangeLog CHANGES NEWS PORTING README
203 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
204
205 %files devel
206 %defattr(644,root,root,755)
207 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
208 %{_libdir}/libg[dt]kmm*.la
209 %{_libdir}/g[dt]kmm-2.4
210 %{_includedir}/g[dt]kmm-2.4
211 %{_pkgconfigdir}/g[dt]kmm*.pc
212
213 %files doc
214 %defattr(644,root,root,755)
215 %doc %{_docdir}/gtkmm-2.4
216 %{_examplesdir}/%{name}-%{version}
217 %doc %{_datadir}/devhelp/books/gtkmm-2.4
218
219 %files static
220 %defattr(644,root,root,755)
221 %{_libdir}/libg[dt]kmm*.a
222
223 %files atk
224 %defattr(644,root,root,755)
225 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
226
227 %files atk-devel
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_libdir}/libatkmm*.so
230 %{_libdir}/libatkmm*.la
231 %{_pkgconfigdir}/atkmm*.pc
232 %{_includedir}/atkmm-1.6
233
234 %files atk-static
235 %defattr(644,root,root,755)
236 %{_libdir}/libatkmm*.a
237
238 %files pango
239 %defattr(644,root,root,755)
240 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
241
242 %files pango-devel
243 %defattr(644,root,root,755)
244 %attr(755,root,root) %{_libdir}/libpangomm*.so
245 %{_libdir}/libpangomm*.la
246 %{_pkgconfigdir}/pangomm*.pc
247 %{_includedir}/pangomm-1.4
248
249 %files pango-static
250 %defattr(644,root,root,755)
251 %{_libdir}/libpangomm*.a
This page took 0.032828 seconds and 2 git commands to generate.