[4616] | 1 | ## don't replace ltmain.sh |
---|
| 2 | %define __libtoolize : |
---|
| 3 | |
---|
[6011] | 4 | %define glib2_version 2.32.0 |
---|
| 5 | %define gtk3_version 3.4.0 |
---|
[4616] | 6 | %define startup_notification_version 0.10 |
---|
| 7 | |
---|
| 8 | Summary: Window Navigator Construction Kit |
---|
| 9 | Name: libwnck3 |
---|
[6890] | 10 | Version: 3.4.3 |
---|
[4616] | 11 | Release: 1%{?_dist_release} |
---|
| 12 | URL: ftp://ftp.gnome.org |
---|
[6011] | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libwnck/3.4/libwnck-%{version}.tar.xz |
---|
[4616] | 14 | License: LGPLv2+ |
---|
| 15 | Group: System Environment/Libraries |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-root |
---|
| 17 | |
---|
| 18 | # follow 3lines was added 2.26.2-2 |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: Takemikaduchi |
---|
| 22 | |
---|
| 23 | Requires: glib2 >= %{glib2_version} |
---|
| 24 | Requires: gtk3 >= %{gtk3_version} |
---|
| 25 | Requires: startup-notification >= %{startup_notification_version} |
---|
| 26 | Requires: libXres |
---|
| 27 | |
---|
| 28 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
| 29 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
| 30 | BuildRequires: startup-notification-devel >= %{startup_notification_version} |
---|
| 31 | BuildRequires: perl-XML-Parser gettext |
---|
| 32 | BuildRequires: libXres-devel |
---|
| 33 | BuildRequires: gobject-introspection-devel |
---|
| 34 | |
---|
| 35 | # Conflicts: libwnck < 2.31 |
---|
| 36 | |
---|
| 37 | Patch1: libwnck-2.18.0-above.patch |
---|
| 38 | # http://bugzilla.gnome.org/show_bug.cgi?id=459984 |
---|
| 39 | Patch2: crash-on-shutdown.patch |
---|
| 40 | |
---|
| 41 | %description |
---|
| 42 | |
---|
| 43 | libwnck3 (pronounced "libwink") is used to implement pagers, tasklists, |
---|
| 44 | and other such things. It allows applications to monitor information |
---|
| 45 | about open windows, workspaces, their names/icons, and so forth. |
---|
| 46 | |
---|
| 47 | %package devel |
---|
| 48 | Summary: Libraries and headers for libwnck |
---|
| 49 | Group: Development/Libraries |
---|
| 50 | Requires: %{name} = %{version} |
---|
| 51 | |
---|
| 52 | Requires: glib2-devel >= %{glib2_version} |
---|
| 53 | Requires: gtk3-devel >= %{gtk3_version} |
---|
| 54 | Requires: pkgconfig |
---|
| 55 | # added 2.26.2-2 |
---|
| 56 | Requires: startup-notification-devel >= %{startup_notification_version} |
---|
| 57 | Requires: libXres-devel |
---|
| 58 | |
---|
| 59 | # Conflicts: libwnck-devel < 2.31 |
---|
| 60 | |
---|
| 61 | %description devel |
---|
| 62 | |
---|
| 63 | libwnck3 (pronounced "libwink") is used to implement pagers, tasklists, |
---|
| 64 | and other such things. It allows applications to monitor information |
---|
| 65 | about open windows, workspaces, their names/icons, and so forth. |
---|
| 66 | |
---|
| 67 | You should install the libwnck-devel package if you would like to |
---|
| 68 | compile applications that use libwnck. You don't need libwnck-devel |
---|
| 69 | just to use precompiled applications. |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %prep |
---|
| 73 | %setup -q -n libwnck-%{version} |
---|
| 74 | #patch0 -p1 -b .appearance |
---|
| 75 | %patch1 -p1 -b .above |
---|
| 76 | %patch2 -p1 -b .crash-on-shutdown |
---|
| 77 | |
---|
| 78 | %build |
---|
| 79 | %configure --disable-static --enable-introspection=yes |
---|
| 80 | make %{?_smp_mflags} |
---|
| 81 | |
---|
| 82 | %install |
---|
| 83 | rm -rf $RPM_BUILD_ROOT |
---|
| 84 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 85 | |
---|
| 86 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 87 | |
---|
| 88 | %find_lang libwnck-3.0 |
---|
| 89 | |
---|
| 90 | %post -p /sbin/ldconfig |
---|
| 91 | |
---|
| 92 | %postun -p /sbin/ldconfig |
---|
| 93 | |
---|
| 94 | %clean |
---|
| 95 | rm -rf $RPM_BUILD_ROOT |
---|
| 96 | |
---|
| 97 | %files -f libwnck-3.0.lang |
---|
| 98 | %defattr(-,root,root) |
---|
| 99 | %doc AUTHORS COPYING ChangeLog README |
---|
| 100 | %{_bindir}/* |
---|
| 101 | %{_libdir}/lib*.so.* |
---|
| 102 | %{_libdir}/girepository-1.0 |
---|
| 103 | |
---|
| 104 | %files devel |
---|
| 105 | %defattr(-,root,root) |
---|
| 106 | #{_libdir}/lib*.a |
---|
| 107 | %{_libdir}/lib*.so |
---|
| 108 | %{_libdir}/pkgconfig/* |
---|
| 109 | %{_includedir}/* |
---|
| 110 | %{_datadir}/gtk-doc |
---|
| 111 | %{_datadir}/gir-1.0 |
---|
| 112 | |
---|
| 113 | %changelog |
---|
[6890] | 114 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[6201] | 117 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[6011] | 120 | * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[5038] | 123 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[4850] | 126 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[4812] | 129 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 130 | - new upstream release |
---|
| 131 | |
---|
[4704] | 132 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
| 133 | - new upstream release |
---|
| 134 | |
---|
[4650] | 135 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
[4616] | 138 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
| 139 | - initial build for Vine Linux |
---|
| 140 | |
---|