forked from fpaquet/gtksheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgtksheet-3.0.spec.in
102 lines (79 loc) · 2.52 KB
/
gtksheet-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
93
94
95
96
97
98
99
100
101
%define name gtkextra3
%define major @GTK_SHEET_MAJOR_VERSION@
%define minor @GTK_SHEET_MINOR_VERSION@
%define micro @GTK_SHEET_MICRO_VERSION@
%define ver %major.%minor.%micro
%define rel 1
Summary: A library of gtk+ widgets
Name: %name
Version: %ver
Release: %rel%{?dist}
License: LGPL
Group: System Environment/Libraries
Source: https://github.com/fpaquet/gtksheet/archive/V%version.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
URL: https://fpaquet.github.io/gtksheet/
Requires: gtk2 >= 2.12.0
Requires: glib2 >= 2.12.0
Requires: pango
Requires: atk
BuildRequires: gtk2-devel
BuildRequires: glib2-devel
BuildRequires: pango-devel
BuildRequires: atk-devel
%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}
Requires: gtk2-devel
Requires: glib2-devel
Requires: pango-devel
Requires: atk-devel
%description devel
The gtksheet-devel package includes the static libraries, header files,
and documentation for compiling programs that use gtksheet widgets.
%prep
%setup -q -n gtksheet-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-tests
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
%{_libdir}/libgtksheet*.so.*
%files devel
%defattr(-, root, root)
%{_libdir}/*so
%{_libdir}/*a
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_datadir}/gtk-doc/html/gtksheet-3/*
%changelog
* Fri May 29 2015 Tom Schoonjans <[email protected]>
- Renamed doc folder
* Wed Apr 17 2013 Tom Schoonjans <[email protected]>
- Modified spec file in order to make it compatible with the latest RPM building recommendations
* Fri Jan 21 2005 Adrian E. Feiguin <[email protected]>
- First version for gtksheet-2
* Fri Dec 20 2002 Toby D. Reeves <[email protected]>
- Make the rpm name a variable.
- Set rpm name to gtksheet allowing both 0.99.x and 1.1.x to be installed.
* Mon Jul 22 2002 Toby D. Reeves <[email protected]>
- Corrected for use of pkg-config
* Wed Jul 17 2002 Toby D. Reeves <[email protected]>
- Corrected -install to use DESTDIR
- Make gtksheet-devel package require gtksheet
- Added *.so to devel files
* Wed Mar 15 2000 Conrad Steenberg <[email protected]>
- First spec file