]>
Commit | Line | Data |
---|---|---|
29fe246d | 1 | # |
2 | # Conditional build: | |
5b23fc0c | 3 | %bcond_with tests # perform "make test" (requires X server) |
29fe246d | 4 | # |
9d7df5f2 | 5 | %define pdir Gtk2 |
29fe246d | 6 | Summary: Perl interface to the 2.x series of the Gimp Toolkit library |
5361729a | 7 | Summary(pl.UTF-8): Interfejs perlowy do wersji 2.x biblioteki Gimp Toolkit |
12f31fb8 | 8 | Name: perl-Gtk2 |
d0c4abc6 | 9 | # note: versions 1.x[13579]y are unstable, if you want them, please use DEVEL branch |
a03b8e51 | 10 | Version: 1.24993 |
ce8ef96f | 11 | Release: 2 |
f30dc485 | 12 | License: LGPL v2.1+ |
29fe246d | 13 | Group: Development/Languages/Perl |
7235f823 | 14 | Source0: http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{version}.tar.gz |
a03b8e51 | 15 | # Source0-md5: 4bc5bee6ec7bfbd578ec51f502db2734 |
c1221a12 | 16 | URL: http://gtk2-perl.sourceforge.net/ |
4053f324 | 17 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
96b9f6ce | 18 | BuildRequires: pango-devel >= 1:1.18 |
8aee7492 | 19 | BuildRequires: perl-Cairo-devel >= 1.060 |
56dc5bd5 | 20 | BuildRequires: perl-ExtUtils-Depends >= 0.300 |
c4e6fef5 | 21 | BuildRequires: perl-ExtUtils-MakeMaker |
d1f1e3b4 | 22 | BuildRequires: perl-ExtUtils-PkgConfig >= 1.06 |
8aee7492 JB |
23 | BuildRequires: perl-Glib-devel >= 1.280 |
24 | BuildRequires: perl-Pango-devel >= 1.220 | |
d9a7faab | 25 | BuildRequires: perl-devel >= 1:5.8.0 |
29fe246d | 26 | BuildRequires: rpm-perlprov >= 4.1-13 |
a03b8e51 | 27 | BuildRequires: rpmbuild(macros) >= 1.745 |
96b9f6ce JB |
28 | Requires: gtk+2 >= 2:2.12.0 |
29 | Requires: pango >= 1:1.18 | |
4053f324 | 30 | Requires: perl-Cairo >= 1.060 |
8aee7492 | 31 | Requires: perl-Glib >= 1.280 |
56dc5bd5 | 32 | Requires: perl-Pango >= 1.220 |
6606b449 | 33 | Obsoletes: perl-Gnome2-common |
29fe246d | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
cbd151a3 ER |
37 | The Gtk2 module allows a perl developer to use the GTK+ graphical user |
38 | interface library. | |
29fe246d | 39 | |
1f8adc67 JR |
40 | %description -l pl.UTF-8 |
41 | Moduł Gtk2 pozwala programistom perlowym na używanie biblioteki | |
f7eedd2c | 42 | interfejsu graficznego GTK+. |
0f38b89b | 43 | |
9024c196 JB |
44 | %package devel |
45 | Summary: Development files for Perl Gtk2 bindings | |
46 | Summary(pl.UTF-8): Pliki programistyczne wiązań Gtk2 dla Perla | |
47 | Group: Development/Languages/Perl | |
48 | Requires: %{name} = %{version}-%{release} | |
8aee7492 JB |
49 | Requires: gtk+2-devel >= 2:2.12.0 |
50 | Requires: perl-Glib-devel >= 1.280 | |
51 | Requires: perl-Pango-devel >= 1.220 | |
9024c196 JB |
52 | |
53 | %description devel | |
54 | Development files for Perl Gtk2 bindings. | |
55 | ||
56 | %description devel -l pl.UTF-8 | |
57 | Pliki programistyczne wiązań Gtk2 dla Perla. | |
58 | ||
29fe246d | 59 | %prep |
12f31fb8 | 60 | %setup -q -n %{pdir}-%{version} |
29fe246d | 61 | |
62 | %build | |
63 | %{__perl} Makefile.PL \ | |
64 | INSTALLDIRS=vendor | |
65 | ||
66 | %{__make} \ | |
3c086165 | 67 | CC="%{__cc}" \ |
29fe246d | 68 | OPTIMIZE="%{rpmcflags}" |
69 | ||
5b23fc0c | 70 | %{?with_tests:%{__make} test} |
29fe246d | 71 | |
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
96b9f6ce | 74 | install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Gtk2/Ex |
29fe246d | 75 | |
4053f324 | 76 | %{__make} pure_install \ |
29fe246d | 77 | DESTDIR=$RPM_BUILD_ROOT |
78 | ||
f1d3f52d | 79 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gtk2/{*,*/*,*/*/*}.pod |
5b23fc0c | 80 | |
29fe246d | 81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
d103eb57 | 86 | %doc AUTHORS NEWS README TODO |
b3655642 | 87 | %{perl_vendorarch}/Gtk2.pm |
aee31f71 | 88 | %dir %{perl_vendorarch}/Gtk2 |
9024c196 JB |
89 | %{perl_vendorarch}/Gtk2/Helper.pm |
90 | %{perl_vendorarch}/Gtk2/Pango.pm | |
91 | %{perl_vendorarch}/Gtk2/SimpleList.pm | |
92 | %{perl_vendorarch}/Gtk2/SimpleMenu.pm | |
93 | %{perl_vendorarch}/Gtk2/TestHelper.pm | |
aee31f71 | 94 | %dir %{perl_vendorarch}/Gtk2/Gdk |
9024c196 | 95 | %{perl_vendorarch}/Gtk2/Gdk/Keysyms.pm |
63189d63 | 96 | %dir %{perl_vendorarch}/auto/Gtk2 |
9024c196 | 97 | %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/Gtk2.so |
b47e655a | 98 | %dir %{perl_vendorlib}/Gtk2 |
99 | %dir %{perl_vendorlib}/Gtk2/Ex | |
9024c196 JB |
100 | %{_mandir}/man3/Gtk2.3pm* |
101 | %{_mandir}/man3/Gtk2::AboutDialog.3pm* | |
102 | %{_mandir}/man3/Gtk2::AccelGroup.3pm* | |
103 | %{_mandir}/man3/Gtk2::AccelLabel.3pm* | |
104 | %{_mandir}/man3/Gtk2::AccelMap.3pm* | |
105 | %{_mandir}/man3/Gtk2::Accelerator.3pm* | |
106 | %{_mandir}/man3/Gtk2::Action.3pm* | |
107 | %{_mandir}/man3/Gtk2::ActionGroup.3pm* | |
a0d02ff3 | 108 | %{_mandir}/man3/Gtk2::Activatable.3pm* |
9024c196 JB |
109 | %{_mandir}/man3/Gtk2::Adjustment.3pm* |
110 | %{_mandir}/man3/Gtk2::Alignment.3pm* | |
111 | %{_mandir}/man3/Gtk2::Arrow.3pm* | |
112 | %{_mandir}/man3/Gtk2::AspectFrame.3pm* | |
113 | %{_mandir}/man3/Gtk2::Assistant.3pm* | |
114 | %{_mandir}/man3/Gtk2::Bin.3pm* | |
115 | %{_mandir}/man3/Gtk2::BindingSet.3pm* | |
116 | %{_mandir}/man3/Gtk2::Box.3pm* | |
117 | %{_mandir}/man3/Gtk2::Buildable.3pm* | |
118 | %{_mandir}/man3/Gtk2::Buildable::ParseContext.3pm* | |
119 | %{_mandir}/man3/Gtk2::Builder.3pm* | |
120 | %{_mandir}/man3/Gtk2::Button.3pm* | |
121 | %{_mandir}/man3/Gtk2::ButtonBox.3pm* | |
122 | %{_mandir}/man3/Gtk2::Calendar.3pm* | |
123 | %{_mandir}/man3/Gtk2::CellEditable.3pm* | |
124 | %{_mandir}/man3/Gtk2::CellLayout.3pm* | |
9024c196 JB |
125 | %{_mandir}/man3/Gtk2::CellRenderer.3pm* |
126 | %{_mandir}/man3/Gtk2::CellRendererAccel.3pm* | |
127 | %{_mandir}/man3/Gtk2::CellRendererCombo.3pm* | |
128 | %{_mandir}/man3/Gtk2::CellRendererPixbuf.3pm* | |
129 | %{_mandir}/man3/Gtk2::CellRendererProgress.3pm* | |
130 | %{_mandir}/man3/Gtk2::CellRendererSpin.3pm* | |
a0d02ff3 | 131 | %{_mandir}/man3/Gtk2::CellRendererSpinner.3pm* |
9024c196 JB |
132 | %{_mandir}/man3/Gtk2::CellRendererText.3pm* |
133 | %{_mandir}/man3/Gtk2::CellRendererToggle.3pm* | |
134 | %{_mandir}/man3/Gtk2::CellView.3pm* | |
135 | %{_mandir}/man3/Gtk2::CheckButton.3pm* | |
136 | %{_mandir}/man3/Gtk2::CheckMenuItem.3pm* | |
137 | %{_mandir}/man3/Gtk2::Clipboard.3pm* | |
138 | %{_mandir}/man3/Gtk2::ColorButton.3pm* | |
139 | %{_mandir}/man3/Gtk2::ColorSelection.3pm* | |
140 | %{_mandir}/man3/Gtk2::ColorSelectionDialog.3pm* | |
141 | %{_mandir}/man3/Gtk2::Combo.3pm* | |
142 | %{_mandir}/man3/Gtk2::ComboBox.3pm* | |
143 | %{_mandir}/man3/Gtk2::ComboBoxEntry.3pm* | |
144 | %{_mandir}/man3/Gtk2::Container.3pm* | |
145 | %{_mandir}/man3/Gtk2::Curve.3pm* | |
146 | %{_mandir}/man3/Gtk2::Dialog.3pm* | |
147 | %{_mandir}/man3/Gtk2::Drag.3pm* | |
148 | %{_mandir}/man3/Gtk2::DrawingArea.3pm* | |
149 | %{_mandir}/man3/Gtk2::Editable.3pm* | |
150 | %{_mandir}/man3/Gtk2::Entry.3pm* | |
a0d02ff3 | 151 | %{_mandir}/man3/Gtk2::EntryBuffer.3pm* |
9024c196 JB |
152 | %{_mandir}/man3/Gtk2::EntryCompletion.3pm* |
153 | %{_mandir}/man3/Gtk2::EventBox.3pm* | |
154 | %{_mandir}/man3/Gtk2::Expander.3pm* | |
155 | %{_mandir}/man3/Gtk2::FileChooser.3pm* | |
156 | %{_mandir}/man3/Gtk2::FileChooserButton.3pm* | |
157 | %{_mandir}/man3/Gtk2::FileChooserDialog.3pm* | |
158 | %{_mandir}/man3/Gtk2::FileChooserWidget.3pm* | |
159 | %{_mandir}/man3/Gtk2::FileFilter.3pm* | |
160 | %{_mandir}/man3/Gtk2::FileSelection.3pm* | |
161 | %{_mandir}/man3/Gtk2::Fixed.3pm* | |
162 | %{_mandir}/man3/Gtk2::FontButton.3pm* | |
163 | %{_mandir}/man3/Gtk2::FontSelection.3pm* | |
164 | %{_mandir}/man3/Gtk2::FontSelectionDialog.3pm* | |
165 | %{_mandir}/man3/Gtk2::Frame.3pm* | |
166 | %{_mandir}/man3/Gtk2::GC.3pm* | |
167 | %{_mandir}/man3/Gtk2::GammaCurve.3pm* | |
168 | %{_mandir}/man3/Gtk2::Gdk*.3pm* | |
169 | %{_mandir}/man3/Gtk2::HBox.3pm* | |
170 | %{_mandir}/man3/Gtk2::HButtonBox.3pm* | |
171 | %{_mandir}/man3/Gtk2::HPaned.3pm* | |
172 | %{_mandir}/man3/Gtk2::HRuler.3pm* | |
a0d02ff3 | 173 | %{_mandir}/man3/Gtk2::HSV.3pm* |
9024c196 JB |
174 | %{_mandir}/man3/Gtk2::HScale.3pm* |
175 | %{_mandir}/man3/Gtk2::HScrollbar.3pm* | |
176 | %{_mandir}/man3/Gtk2::HSeparator.3pm* | |
177 | %{_mandir}/man3/Gtk2::HandleBox.3pm* | |
178 | %{_mandir}/man3/Gtk2::Helper.3pm* | |
179 | %{_mandir}/man3/Gtk2::IMContext.3pm* | |
180 | %{_mandir}/man3/Gtk2::IMContextSimple.3pm* | |
181 | %{_mandir}/man3/Gtk2::IMMulticontext.3pm* | |
182 | %{_mandir}/man3/Gtk2::IconFactory.3pm* | |
183 | %{_mandir}/man3/Gtk2::IconInfo.3pm* | |
184 | %{_mandir}/man3/Gtk2::IconSet.3pm* | |
185 | %{_mandir}/man3/Gtk2::IconSize.3pm* | |
186 | %{_mandir}/man3/Gtk2::IconSource.3pm* | |
187 | %{_mandir}/man3/Gtk2::IconTheme.3pm* | |
188 | %{_mandir}/man3/Gtk2::IconView.3pm* | |
189 | %{_mandir}/man3/Gtk2::Image.3pm* | |
190 | %{_mandir}/man3/Gtk2::ImageMenuItem.3pm* | |
a0d02ff3 | 191 | %{_mandir}/man3/Gtk2::InfoBar.3pm* |
9024c196 JB |
192 | %{_mandir}/man3/Gtk2::InputDialog.3pm* |
193 | %{_mandir}/man3/Gtk2::Invisible.3pm* | |
194 | %{_mandir}/man3/Gtk2::Item.3pm* | |
195 | %{_mandir}/man3/Gtk2::ItemFactory.3pm* | |
196 | %{_mandir}/man3/Gtk2::Label.3pm* | |
197 | %{_mandir}/man3/Gtk2::Layout.3pm* | |
198 | %{_mandir}/man3/Gtk2::LinkButton.3pm* | |
199 | %{_mandir}/man3/Gtk2::List.3pm* | |
200 | %{_mandir}/man3/Gtk2::ListItem.3pm* | |
201 | %{_mandir}/man3/Gtk2::ListStore.3pm* | |
202 | %{_mandir}/man3/Gtk2::Menu.3pm* | |
203 | %{_mandir}/man3/Gtk2::MenuBar.3pm* | |
204 | %{_mandir}/man3/Gtk2::MenuItem.3pm* | |
205 | %{_mandir}/man3/Gtk2::MenuShell.3pm* | |
206 | %{_mandir}/man3/Gtk2::MenuToolButton.3pm* | |
207 | %{_mandir}/man3/Gtk2::MessageDialog.3pm* | |
208 | %{_mandir}/man3/Gtk2::Misc.3pm* | |
209 | %{_mandir}/man3/Gtk2::Notebook.3pm* | |
210 | %{_mandir}/man3/Gtk2::Object.3pm* | |
a0d02ff3 | 211 | %{_mandir}/man3/Gtk2::OffscreenWindow.3pm* |
9024c196 JB |
212 | %{_mandir}/man3/Gtk2::OptionMenu.3pm* |
213 | %{_mandir}/man3/Gtk2::Orientable.3pm* | |
214 | %{_mandir}/man3/Gtk2::PageSetup.3pm* | |
215 | %{_mandir}/man3/Gtk2::Paned.3pm* | |
216 | %{_mandir}/man3/Gtk2::Pango*.3pm* | |
217 | %{_mandir}/man3/Gtk2::PaperSize.3pm* | |
218 | %{_mandir}/man3/Gtk2::Plug.3pm* | |
219 | %{_mandir}/man3/Gtk2::Print.3pm* | |
220 | %{_mandir}/man3/Gtk2::PrintContext.3pm* | |
221 | %{_mandir}/man3/Gtk2::PrintOperation.3pm* | |
222 | %{_mandir}/man3/Gtk2::PrintOperationPreview.3pm* | |
223 | %{_mandir}/man3/Gtk2::PrintSettings.3pm* | |
224 | %{_mandir}/man3/Gtk2::ProgressBar.3pm* | |
225 | %{_mandir}/man3/Gtk2::RadioAction.3pm* | |
226 | %{_mandir}/man3/Gtk2::RadioButton.3pm* | |
227 | %{_mandir}/man3/Gtk2::RadioMenuItem.3pm* | |
228 | %{_mandir}/man3/Gtk2::RadioToolButton.3pm* | |
229 | %{_mandir}/man3/Gtk2::Range.3pm* | |
230 | %{_mandir}/man3/Gtk2::Rc.3pm* | |
231 | %{_mandir}/man3/Gtk2::RcStyle.3pm* | |
232 | %{_mandir}/man3/Gtk2::RecentAction.3pm* | |
233 | %{_mandir}/man3/Gtk2::RecentChooser.3pm* | |
234 | %{_mandir}/man3/Gtk2::RecentChooserDialog.3pm* | |
235 | %{_mandir}/man3/Gtk2::RecentChooserMenu.3pm* | |
236 | %{_mandir}/man3/Gtk2::RecentChooserWidget.3pm* | |
237 | %{_mandir}/man3/Gtk2::RecentFilter.3pm* | |
238 | %{_mandir}/man3/Gtk2::RecentInfo.3pm* | |
239 | %{_mandir}/man3/Gtk2::RecentManager.3pm* | |
240 | %{_mandir}/man3/Gtk2::Requisition.3pm* | |
241 | %{_mandir}/man3/Gtk2::Ruler.3pm* | |
242 | %{_mandir}/man3/Gtk2::Scale.3pm* | |
243 | %{_mandir}/man3/Gtk2::ScaleButton.3pm* | |
244 | %{_mandir}/man3/Gtk2::Scrollbar.3pm* | |
245 | %{_mandir}/man3/Gtk2::ScrolledWindow.3pm* | |
246 | %{_mandir}/man3/Gtk2::Selection.3pm* | |
247 | %{_mandir}/man3/Gtk2::SelectionData.3pm* | |
248 | %{_mandir}/man3/Gtk2::Separator.3pm* | |
249 | %{_mandir}/man3/Gtk2::SeparatorMenuItem.3pm* | |
250 | %{_mandir}/man3/Gtk2::SeparatorToolItem.3pm* | |
251 | %{_mandir}/man3/Gtk2::SimpleList.3pm* | |
252 | %{_mandir}/man3/Gtk2::SimpleMenu.3pm* | |
253 | %{_mandir}/man3/Gtk2::SizeGroup.3pm* | |
254 | %{_mandir}/man3/Gtk2::Socket.3pm* | |
255 | %{_mandir}/man3/Gtk2::SpinButton.3pm* | |
a0d02ff3 | 256 | %{_mandir}/man3/Gtk2::Spinner.3pm* |
9024c196 JB |
257 | %{_mandir}/man3/Gtk2::StatusIcon.3pm* |
258 | %{_mandir}/man3/Gtk2::Statusbar.3pm* | |
259 | %{_mandir}/man3/Gtk2::Stock.3pm* | |
260 | %{_mandir}/man3/Gtk2::Style.3pm* | |
261 | %{_mandir}/man3/Gtk2::Table.3pm* | |
262 | %{_mandir}/man3/Gtk2::TargetEntry.3pm* | |
263 | %{_mandir}/man3/Gtk2::TargetList.3pm* | |
264 | %{_mandir}/man3/Gtk2::TearoffMenuItem.3pm* | |
265 | %{_mandir}/man3/Gtk2::TextAttributes.3pm* | |
266 | %{_mandir}/man3/Gtk2::TextBuffer.3pm* | |
267 | %{_mandir}/man3/Gtk2::TextChildAnchor.3pm* | |
268 | %{_mandir}/man3/Gtk2::TextIter.3pm* | |
269 | %{_mandir}/man3/Gtk2::TextMark.3pm* | |
270 | %{_mandir}/man3/Gtk2::TextTag.3pm* | |
271 | %{_mandir}/man3/Gtk2::TextTagTable.3pm* | |
272 | %{_mandir}/man3/Gtk2::TextView.3pm* | |
273 | %{_mandir}/man3/Gtk2::ToggleAction.3pm* | |
274 | %{_mandir}/man3/Gtk2::ToggleButton.3pm* | |
275 | %{_mandir}/man3/Gtk2::ToggleToolButton.3pm* | |
276 | %{_mandir}/man3/Gtk2::ToolButton.3pm* | |
277 | %{_mandir}/man3/Gtk2::ToolItem.3pm* | |
a0d02ff3 JB |
278 | %{_mandir}/man3/Gtk2::ToolItemGroup.3pm* |
279 | %{_mandir}/man3/Gtk2::ToolPalette.3pm* | |
9024c196 JB |
280 | %{_mandir}/man3/Gtk2::ToolShell.3pm* |
281 | %{_mandir}/man3/Gtk2::Toolbar.3pm* | |
282 | %{_mandir}/man3/Gtk2::Tooltip.3pm* | |
283 | %{_mandir}/man3/Gtk2::Tooltips.3pm* | |
284 | %{_mandir}/man3/Gtk2::TreeDragDest.3pm* | |
285 | %{_mandir}/man3/Gtk2::TreeDragSource.3pm* | |
286 | %{_mandir}/man3/Gtk2::TreeIter.3pm* | |
287 | %{_mandir}/man3/Gtk2::TreeModel.3pm* | |
288 | %{_mandir}/man3/Gtk2::TreeModelFilter.3pm* | |
289 | %{_mandir}/man3/Gtk2::TreeModelSort.3pm* | |
290 | %{_mandir}/man3/Gtk2::TreePath.3pm* | |
291 | %{_mandir}/man3/Gtk2::TreeRowReference.3pm* | |
292 | %{_mandir}/man3/Gtk2::TreeSelection.3pm* | |
293 | %{_mandir}/man3/Gtk2::TreeSortable*.3pm* | |
294 | %{_mandir}/man3/Gtk2::TreeStore.3pm* | |
295 | %{_mandir}/man3/Gtk2::TreeView.3pm* | |
296 | %{_mandir}/man3/Gtk2::TreeViewColumn.3pm* | |
297 | %{_mandir}/man3/Gtk2::UIManager.3pm* | |
298 | %{_mandir}/man3/Gtk2::VBox.3pm* | |
299 | %{_mandir}/man3/Gtk2::VButtonBox.3pm* | |
300 | %{_mandir}/man3/Gtk2::VPaned.3pm* | |
301 | %{_mandir}/man3/Gtk2::VRuler.3pm* | |
302 | %{_mandir}/man3/Gtk2::VScale.3pm* | |
303 | %{_mandir}/man3/Gtk2::VScrollbar.3pm* | |
304 | %{_mandir}/man3/Gtk2::VSeparator.3pm* | |
305 | %{_mandir}/man3/Gtk2::Viewport.3pm* | |
306 | %{_mandir}/man3/Gtk2::VolumeButton.3pm* | |
307 | %{_mandir}/man3/Gtk2::Widget.3pm* | |
308 | %{_mandir}/man3/Gtk2::Window.3pm* | |
309 | %{_mandir}/man3/Gtk2::WindowGroup.3pm* | |
310 | %{_mandir}/man3/Gtk2::api.3pm* | |
311 | %{_mandir}/man3/Gtk2::enums.3pm* | |
312 | %{_mandir}/man3/Gtk2::index.3pm* | |
313 | %{_mandir}/man3/Gtk2::main.3pm* | |
314 | %{_mandir}/man3/Gtk2::version.3pm* | |
315 | ||
316 | %files devel | |
317 | %defattr(644,root,root,755) | |
318 | %{perl_vendorarch}/Gtk2/CodeGen.pm | |
319 | %{perl_vendorarch}/Gtk2/Install | |
320 | %{_mandir}/man3/Gtk2::CodeGen.3pm* | |
321 | %{_mandir}/man3/Gtk2::devel.3pm* |