-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgtkextra-3.0.spec.in
93 lines (72 loc) · 2.23 KB
/
gtkextra-3.0.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Note that this is NOT a relocatable package
%define name gtkextra3
%define major @GTK_EXTRA_MAJOR_VERSION@
%define minor @GTK_EXTRA_MINOR_VERSION@
%define micro @GTK_EXTRA_MICRO_VERSION@
%define ver %major.%minor.%micro
%define rel 1
%define prefix /usr
Summary: A library of gtk+ widgets
Name: %name
Version: %ver
Release: %rel
Copyright: LGPL
Group: System Environment/Libraries
Source: http://gtkextra.sourceforge.net/src/gtk+extra-%version.tar.gz
BuildRoot: /var/tmp/glib-%{PACKAGE_VERSION}-root
URL: http://gtkextra.sourceforge.net
Requires: gtk2 >= 2.18.9
Requires: glib2 >= 2.12.0
Requires: pango
Requires: atk
BuildRequires: gtk2-devel
BuildRequires: glib2-devel
BuildRequires: pango-devel
BuildRequires: atk-devel
Docdir: %{prefix}/doc
%description
A library of dynamically linked gtk+ widgets including:
GtkSheet, GtkPlot, and GtkIconList
%package devel
Summary: A library of gtk+ widgets
Group: Development/Libraries
Requires: %name = %{version}
%description devel
The gtk+extra-devel package includes the static libraries, header files,
and documentation for compiling programs that use gtk+extra widgets.
%changelog
* Fri Jan 21 2005 Adrian E. Feiguin <afeiguin@uci.edu>
- First version for gtkextra-2
* Fri Dec 20 2002 Toby D. Reeves <toby@solidstatescientific.com>
- Make the rpm name a variable.
- Set rpm name to gtk+extra allowing both 0.99.x and 1.1.x to be installed.
* Mon Jul 22 2002 Toby D. Reeves <toby@solidstatescientific.com>
- Corrected for use of pkg-config
* Wed Jul 17 2002 Toby D. Reeves <toby@solidstatescientific.com>
- Corrected -install to use DESTDIR
- Make gtk+extra-devel package require gtk+extra
- Added *.so to devel files
* Wed Mar 15 2000 Conrad Steenberg <conrad@srl.caltech.edu>
- First spec file
%prep
%setup -q -n gtk+extra-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc INSTALL README docs/*.ChangeLog
%{prefix}/lib/libgtkextra*.so.*
%files devel
%defattr(-, root, root)
%{prefix}/lib/*so
%{prefix}/lib/*a
%{prefix}/lib/pkgconfig/*
%{prefix}/include/*