]>
Commit | Line | Data |
---|---|---|
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.22.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.22/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: cde51d7dfcbcfa3b8cdc3e5f0df8c799 | |
10 | URL: http://www.gnome.org/ | |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: gtk-update-icon-cache | |
14 | BuildRequires: pkgconfig >= 1:0.19 | |
15 | BuildRequires: rpmbuild(macros) >= 1.601 | |
16 | BuildRequires: tar >= 1:1.22 | |
17 | BuildRequires: xz | |
18 | Requires(post): gtk-update-icon-cache >= 3.14 | |
19 | Conflicts: gnome-themes-standard < 3.14 | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Adwaita icon theme for GNOME environment. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Motyw ikon Adwaita dla środowiska GNOME. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | ||
32 | %build | |
33 | %{__aclocal} | |
34 | %{__autoconf} | |
35 | %{__automake} | |
36 | %configure \ | |
37 | GTK_UPDATE_ICON_CACHE=/bin/true | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | %{__make} install \ | |
43 | install_sh="install -p" \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | > $RPM_BUILD_ROOT%{_iconsdir}/Adwaita/icon-theme.cache | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %post | |
52 | %update_icon_cache Adwaita | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS COPYING NEWS README | |
57 | %dir %{_iconsdir}/Adwaita | |
58 | %{_iconsdir}/Adwaita/index.theme | |
59 | %{_iconsdir}/Adwaita/[0-9]*x[0-9]* | |
60 | %{_iconsdir}/Adwaita/cursors | |
61 | %{_iconsdir}/Adwaita/scalable | |
62 | %{_iconsdir}/Adwaita/scalable-up-to-32 | |
63 | %ghost %{_iconsdir}/Adwaita/icon-theme.cache | |
64 | %{_npkgconfigdir}/adwaita-icon-theme.pc |