1 | ## don't replace ltmain.sh |
---|
2 | %define __libtoolize : |
---|
3 | |
---|
4 | %define glib2_version 2.32.0 |
---|
5 | %define gtk3_version 3.24.0 |
---|
6 | %define startup_notification_version 0.10 |
---|
7 | |
---|
8 | %global origname libwnck |
---|
9 | |
---|
10 | Summary: Window Navigator Construction Kit |
---|
11 | Name: libwnck3 |
---|
12 | Version: 3.36.0 |
---|
13 | Release: 1%{?_dist_release} |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | |
---|
17 | URL: https://developer.gnome.org/libwnck/stable/ |
---|
18 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
19 | Source0: https://download.gnome.org/sources/%{origname}/%{shortver}/%{origname}-%{version}.tar.xz |
---|
20 | License: LGPLv2+ |
---|
21 | |
---|
22 | BuildRoot: %{_tmppath}/%{name}-root |
---|
23 | |
---|
24 | Requires: glib2 >= %{glib2_version} |
---|
25 | Requires: gtk3 >= %{gtk3_version} |
---|
26 | Requires: startup-notification >= %{startup_notification_version} |
---|
27 | Requires: libXres |
---|
28 | |
---|
29 | BuildRequires: meson |
---|
30 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
31 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
32 | BuildRequires: startup-notification-devel >= %{startup_notification_version} |
---|
33 | BuildRequires: perl-XML-Parser gettext |
---|
34 | BuildRequires: libXres-devel |
---|
35 | BuildRequires: gobject-introspection-devel |
---|
36 | |
---|
37 | # Conflicts: libwnck < 2.31 |
---|
38 | |
---|
39 | Patch1: libwnck-2.18.0-above.patch |
---|
40 | # http://bugzilla.gnome.org/show_bug.cgi?id=459984 |
---|
41 | Patch2: crash-on-shutdown.patch |
---|
42 | |
---|
43 | %description |
---|
44 | libwnck3 (pronounced "libwink") is used to implement pagers, tasklists, |
---|
45 | and other such things. It allows applications to monitor information |
---|
46 | about open windows, workspaces, their names/icons, and so forth. |
---|
47 | |
---|
48 | |
---|
49 | %package devel |
---|
50 | Summary: Libraries and headers for libwnck |
---|
51 | Group: Development/Libraries |
---|
52 | Requires: %{name} = %{version} |
---|
53 | |
---|
54 | Requires: glib2-devel >= %{glib2_version} |
---|
55 | Requires: gtk3-devel >= %{gtk3_version} |
---|
56 | Requires: pkgconfig |
---|
57 | # added 2.26.2-2 |
---|
58 | Requires: startup-notification-devel >= %{startup_notification_version} |
---|
59 | Requires: libXres-devel |
---|
60 | |
---|
61 | # Conflicts: libwnck-devel < 2.31 |
---|
62 | |
---|
63 | %description devel |
---|
64 | libwnck3 (pronounced "libwink") is used to implement pagers, tasklists, |
---|
65 | and other such things. It allows applications to monitor information |
---|
66 | about open windows, workspaces, their names/icons, and so forth. |
---|
67 | |
---|
68 | You should install the libwnck-devel package if you would like to |
---|
69 | compile applications that use libwnck. You don't need libwnck-devel |
---|
70 | just to use precompiled applications. |
---|
71 | |
---|
72 | |
---|
73 | %prep |
---|
74 | %setup -q -n libwnck-%{version} |
---|
75 | #patch0 -p1 -b .appearance |
---|
76 | %patch1 -p1 -b .above |
---|
77 | %patch2 -p1 -b .crash-on-shutdown |
---|
78 | |
---|
79 | |
---|
80 | %build |
---|
81 | %meson |
---|
82 | %meson_build |
---|
83 | |
---|
84 | |
---|
85 | %install |
---|
86 | rm -rf $RPM_BUILD_ROOT |
---|
87 | %meson_install |
---|
88 | |
---|
89 | %find_lang libwnck-3.0 |
---|
90 | |
---|
91 | |
---|
92 | %post -p /sbin/ldconfig |
---|
93 | %postun -p /sbin/ldconfig |
---|
94 | |
---|
95 | |
---|
96 | %clean |
---|
97 | rm -rf $RPM_BUILD_ROOT |
---|
98 | |
---|
99 | |
---|
100 | %files -f libwnck-3.0.lang |
---|
101 | %defattr(-,root,root) |
---|
102 | %license COPYING |
---|
103 | %doc AUTHORS ChangeLog README |
---|
104 | %{_bindir}/* |
---|
105 | %{_libdir}/lib*.so.* |
---|
106 | %{_libdir}/girepository-1.0/* |
---|
107 | |
---|
108 | %files devel |
---|
109 | %defattr(-,root,root) |
---|
110 | #{_libdir}/lib*.a |
---|
111 | %{_libdir}/lib*.so |
---|
112 | %{_libdir}/pkgconfig/* |
---|
113 | %{_includedir}/* |
---|
114 | %{_datadir}/gir-1.0/* |
---|
115 | |
---|
116 | %changelog |
---|
117 | * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.0-1 |
---|
118 | - new upstream release. |
---|
119 | |
---|
120 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
124 | - update to 3.14.0 |
---|
125 | |
---|
126 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.9-1 |
---|
127 | - new upstream release |
---|
128 | |
---|
129 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.7-2 |
---|
130 | - rebuild with VineSeed environment |
---|
131 | |
---|
132 | * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.7-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.6-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.5-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
151 | - new upstream release |
---|
152 | |
---|
153 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
160 | - new upstream release |
---|
161 | |
---|
162 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
163 | - new upstream release |
---|
164 | |
---|
165 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
166 | - new upstream release |
---|
167 | |
---|
168 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
169 | - initial build for Vine Linux |
---|
170 | |
---|