[4616] | 1 | ## don't replace ltmain.sh |
---|
| 2 | %define __libtoolize : |
---|
| 3 | |
---|
[6011] | 4 | %define glib2_version 2.32.0 |
---|
[12446] | 5 | %define gtk3_version 3.24.0 |
---|
[4616] | 6 | %define startup_notification_version 0.10 |
---|
| 7 | |
---|
[12446] | 8 | %global origname libwnck |
---|
| 9 | |
---|
[4616] | 10 | Summary: Window Navigator Construction Kit |
---|
| 11 | Name: libwnck3 |
---|
[12446] | 12 | Version: 3.36.0 |
---|
[9073] | 13 | Release: 1%{?_dist_release} |
---|
[12446] | 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 |
---|
[4616] | 20 | License: LGPLv2+ |
---|
[12446] | 21 | |
---|
[4616] | 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 | |
---|
[12446] | 29 | BuildRequires: meson |
---|
[4616] | 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 | |
---|
[12446] | 48 | |
---|
[4616] | 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 | |
---|
[12446] | 79 | |
---|
[4616] | 80 | %build |
---|
[12446] | 81 | %meson |
---|
| 82 | %meson_build |
---|
[4616] | 83 | |
---|
[12446] | 84 | |
---|
[4616] | 85 | %install |
---|
| 86 | rm -rf $RPM_BUILD_ROOT |
---|
[12446] | 87 | %meson_install |
---|
[4616] | 88 | |
---|
| 89 | %find_lang libwnck-3.0 |
---|
| 90 | |
---|
[12446] | 91 | |
---|
[4616] | 92 | %post -p /sbin/ldconfig |
---|
| 93 | %postun -p /sbin/ldconfig |
---|
| 94 | |
---|
[12446] | 95 | |
---|
[4616] | 96 | %clean |
---|
| 97 | rm -rf $RPM_BUILD_ROOT |
---|
| 98 | |
---|
[12446] | 99 | |
---|
[4616] | 100 | %files -f libwnck-3.0.lang |
---|
| 101 | %defattr(-,root,root) |
---|
[12446] | 102 | %license COPYING |
---|
| 103 | %doc AUTHORS ChangeLog README |
---|
[4616] | 104 | %{_bindir}/* |
---|
| 105 | %{_libdir}/lib*.so.* |
---|
[12446] | 106 | %{_libdir}/girepository-1.0/* |
---|
[4616] | 107 | |
---|
| 108 | %files devel |
---|
| 109 | %defattr(-,root,root) |
---|
| 110 | #{_libdir}/lib*.a |
---|
| 111 | %{_libdir}/lib*.so |
---|
| 112 | %{_libdir}/pkgconfig/* |
---|
| 113 | %{_includedir}/* |
---|
[12446] | 114 | %{_datadir}/gir-1.0/* |
---|
[4616] | 115 | |
---|
| 116 | %changelog |
---|
[12446] | 117 | * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.0-1 |
---|
| 118 | - new upstream release. |
---|
| 119 | |
---|
[10716] | 120 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1 |
---|
| 121 | - new upstream release |
---|
[10571] | 122 | |
---|
[9791] | 123 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 124 | - update to 3.14.0 |
---|
| 125 | |
---|
[9073] | 126 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.9-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[8119] | 129 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.7-2 |
---|
| 130 | - rebuild with VineSeed environment |
---|
| 131 | |
---|
[7786] | 132 | * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.7-1 |
---|
| 133 | - new upstream release |
---|
| 134 | |
---|
[7756] | 135 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.6-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
[7474] | 138 | * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.5-1 |
---|
| 139 | - new upstream release |
---|
| 140 | |
---|
[7119] | 141 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
[6890] | 144 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[6201] | 147 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[6011] | 150 | * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[5038] | 153 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[4850] | 156 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[4812] | 159 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[4704] | 162 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
[4650] | 165 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
[4616] | 168 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
| 169 | - initial build for Vine Linux |
---|
| 170 | |
---|