[4616] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: Theme engines for GTK+ 3.x |
---|
| 4 | Summary(ja): GTK+ 3.x 用テーマエンジン |
---|
| 5 | Name: gtk3-engines |
---|
| 6 | Version: 2.91.1 |
---|
[8084] | 7 | Release: 2%{?_dist_release} |
---|
[4616] | 8 | License: GPL |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | Source: ftp://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.91/gtk-engines-%{version}.tar.bz2 |
---|
| 11 | |
---|
| 12 | Requires: gtk3 >= 2.91.0 |
---|
| 13 | BuildRequires: gtk3-devel >= 2.91.0 |
---|
| 14 | Conflicts: gnome-themes < 2.8.2-0vl1 |
---|
| 15 | Conflicts: gnome-themes-extras < 0.8-0vl2 |
---|
| 16 | |
---|
| 17 | URL: http://www.gnome.org/ |
---|
| 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | The gtk3-engines package contains shared objects and configuration |
---|
| 26 | files that implement a number of GTK+ theme engines. Theme engines |
---|
| 27 | provide different looks for GTK+, some of which resemble other |
---|
| 28 | toolkits or operating systems. This package is for GTK+ 3.0, |
---|
| 29 | the gtk+-engines package is for GTK+ 1.2. |
---|
| 30 | the gtk2-engines package is for GTK+ 2.x. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Development environment for gtk3-engines |
---|
| 35 | Summary(ja): gtk3-enginesの開発環境 |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | Header files and libraries for building a extension library for the |
---|
| 42 | gtk3-engines. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | # compat32 |
---|
| 46 | %package -n compat32-%{name} |
---|
| 47 | Summary: Theme engines for GTK+ 3.x |
---|
| 48 | Summary(ja): GTK+ 3.x 用テーマエンジン |
---|
| 49 | Group: System Environment/Libraries |
---|
| 50 | Requires: %{name} = %{version}-%{release} |
---|
| 51 | |
---|
| 52 | %description -n compat32-%{name} |
---|
| 53 | The gtk3-engines package contains shared objects and configuration |
---|
| 54 | files that implement a number of GTK+ theme engines. Theme engines |
---|
| 55 | provide different looks for GTK+, some of which resemble other |
---|
| 56 | toolkits or operating systems. This package is for GTK+ 3.0, |
---|
| 57 | the gtk+-engines package is for GTK+ 1.2. |
---|
| 58 | the gtk2-engines package is for GTK+ 2.x. |
---|
| 59 | |
---|
| 60 | %package -n compat32-%{name}-devel |
---|
| 61 | Summary: Development environment for gtk3-engines |
---|
| 62 | Summary(ja): gtk3-enginesの開発環境 |
---|
| 63 | Group: Development/Libraries |
---|
| 64 | Requires: %{name} = %{version}-%{release} |
---|
| 65 | Requires: pkgconfig |
---|
| 66 | |
---|
| 67 | %description -n compat32-%{name}-devel |
---|
| 68 | Header files and libraries for building a extension library for the |
---|
| 69 | gtk3-engines. |
---|
| 70 | |
---|
| 71 | %prep |
---|
| 72 | %setup -q -n gtk-engines-%{version} |
---|
| 73 | |
---|
| 74 | %build |
---|
| 75 | |
---|
| 76 | %configure |
---|
| 77 | %__make |
---|
| 78 | |
---|
| 79 | %install |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | %makeinstall |
---|
| 83 | |
---|
| 84 | # remove backup files that shouldn't be here. Fix me. |
---|
| 85 | find $RPM_BUILD_ROOT%{_datadir}/themes -name \*~ | xargs rm -rvf |
---|
| 86 | |
---|
| 87 | # No, we don't need to package these either |
---|
| 88 | find $RPM_BUILD_ROOT%{_datadir}/themes -type d -name ".xvpics" | xargs rm -rvf |
---|
| 89 | |
---|
| 90 | # sanitize permissions |
---|
| 91 | find $RPM_BUILD_ROOT%{_datadir}/themes -type d -exec chmod 755 {} \; |
---|
| 92 | find $RPM_BUILD_ROOT%{_datadir}/themes -type f -name "*.png" -exec chmod 644 {} \; |
---|
| 93 | find $RPM_BUILD_ROOT%{_datadir}/themes -name "gtkrc*" -perm +111 -exec chmod 644 {} \; |
---|
| 94 | |
---|
| 95 | # remove unpackaged files |
---|
| 96 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/*/engines/lib*.la |
---|
| 97 | |
---|
| 98 | %clean |
---|
| 99 | rm -rf $RPM_BUILD_ROOT |
---|
| 100 | |
---|
| 101 | %files |
---|
| 102 | %defattr(-, root, root, -) |
---|
| 103 | %doc COPYING README ChangeLog |
---|
| 104 | %attr (755, root, root) %{_libdir}/gtk-3.0/*/engines/*.so |
---|
| 105 | %dir %{_libdir}/gtk-3.0 |
---|
| 106 | %dir %{_libdir}/gtk-3.0/* |
---|
| 107 | %dir %{_libdir}/gtk-3.0/*/engines |
---|
| 108 | %{_datadir}/themes/* |
---|
| 109 | %{_datadir}/gtk-engines/3.0/*.xml |
---|
| 110 | %{_datadir}/locale |
---|
| 111 | |
---|
| 112 | %files devel |
---|
| 113 | %defattr(-, root, root, -) |
---|
| 114 | %{_libdir}/pkgconfig/* |
---|
| 115 | |
---|
| 116 | # compat32 |
---|
| 117 | %if %{build_compat32} |
---|
| 118 | %files -n compat32-%{name} |
---|
| 119 | %defattr(-, root, root, -) |
---|
| 120 | %attr (755, root, root) %{_libdir}/gtk-3.0/*/engines/*.so |
---|
| 121 | %dir %{_libdir}/gtk-3.0 |
---|
| 122 | %dir %{_libdir}/gtk-3.0/* |
---|
| 123 | %dir %{_libdir}/gtk-3.0/*/engines |
---|
| 124 | %{_libdir}/pkgconfig/* |
---|
| 125 | |
---|
| 126 | %files -n compat32-%{name}-devel |
---|
| 127 | %defattr(-, root, root, -) |
---|
| 128 | %{_libdir}/pkgconfig/* |
---|
| 129 | %endif |
---|
| 130 | |
---|
| 131 | %changelog |
---|
[8084] | 132 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.1-2 |
---|
| 133 | - rebuild with VineSeed environment |
---|
| 134 | |
---|
[4616] | 135 | * Sat May 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.1-1 |
---|
| 136 | - initial build for Vine Linux |
---|
| 137 | |
---|