]>
Commit | Line | Data |
---|---|---|
6419d4cb ŁK |
1 | Summary: Adwaita icon theme for GNOME environment |
2 | Summary(pl.UTF-8): Motyw ikon Adwaita dla środowiska GNOME | |
3 | Name: adwaita-icon-theme | |
4 | Version: 3.14.0 | |
5 | Release: 1 | |
6 | License: LGPL v3 or CC-BY-SA v3.0 | |
7 | Group: Themes | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/3.14/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 75ed0541d5939c415cb2e0e2010f639f | |
10 | URL: http://www.gnome.org/ | |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: gtk-update-icon-cache | |
15 | BuildRequires: intltool >= 0.40.0 | |
16 | BuildRequires: pkgconfig >= 1:0.19 | |
17 | BuildRequires: rpmbuild(macros) >= 1.601 | |
18 | BuildRequires: tar >= 1:1.22 | |
19 | BuildRequires: xz | |
20 | Requires(post): gtk-update-icon-cache | |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %define _pkgconfigdir %{_datadir}/pkgconfig | |
25 | ||
26 | %description | |
27 | Adwaita icon theme for GNOME environment. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Motyw ikon Adwaita dla środowiska GNOME. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | %{__glib_gettextize} | |
37 | %{__intltoolize} | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__automake} | |
41 | %configure | |
42 | GTK_UPDATE_ICON_CACHE=/bin/true | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | %{__make} install \ | |
48 | install_sh="install -p" \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | > $RPM_BUILD_ROOT%{_iconsdir}/Adwaita/icon-theme.cache | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %post | |
57 | %update_icon_cache Adwaita | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS COPYING NEWS README | |
62 | %dir %{_iconsdir}/Adwaita | |
63 | %{_iconsdir}/Adwaita/index.theme | |
64 | %{_iconsdir}/Adwaita/[0-9]*x[0-9]* | |
65 | %{_iconsdir}/Adwaita/cursors | |
66 | %{_iconsdir}/Adwaita/scalable* | |
67 | %ghost %{_iconsdir}/Adwaita/icon-theme.cache | |
68 | %{_pkgconfigdir}/adwaita-icon-theme.pc |