]>
Commit | Line | Data |
---|---|---|
1fd72925 | 1 | Summary: tint2 is a simple panel/taskbar intentionally made for openbox3 |
2 | Summary(pl.UTF-8): tint2 jest prostym panelem oryginalnie zaprojektowanym dla openbox3 | |
3 | Name: tint2 | |
417e55b3 KM |
4 | Version: 17.0.2 |
5 | Release: 1 | |
1fd72925 | 6 | License: GPL v2 |
7 | Group: Applications | |
417e55b3 KM |
8 | Source0: https://gitlab.com/o9000/tint2/-/archive/v17.0.2/%{name}-v%{version}.tar.bz2 |
9 | # Source0-md5: 60e5addfa33426229c00325a2e3af97b | |
10 | URL: https://gitlab.com/o9000/tint2/ | |
1fd72925 | 11 | BuildRequires: cairo-devel |
75436c36 | 12 | BuildRequires: cmake |
13 | BuildRequires: desktop-file-utils | |
417e55b3 | 14 | BuildRequires: gettext-tools |
1fd72925 | 15 | BuildRequires: glib2-devel |
417e55b3 KM |
16 | BuildRequires: gtk+3-devel |
17 | BuildRequires: imlib2-devel >= 1.4.2 | |
33aa2645 | 18 | BuildRequires: libpng-devel |
417e55b3 | 19 | BuildRequires: librsvg-devel >= 2.14.0 |
9ac6ed68 | 20 | BuildRequires: libtool |
1fd72925 | 21 | BuildRequires: pango-devel |
22 | BuildRequires: pkgconfig | |
417e55b3 KM |
23 | BuildRequires: startup-notification-devel >= 0.12 |
24 | BuildRequires: xorg-lib-libX11-devel | |
485c8ca9 | 25 | BuildRequires: xorg-lib-libXcomposite-devel |
26 | BuildRequires: xorg-lib-libXdamage-devel | |
417e55b3 | 27 | BuildRequires: xorg-lib-libXext-devel |
1fd72925 | 28 | BuildRequires: xorg-lib-libXinerama-devel |
417e55b3 KM |
29 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3 |
30 | BuildRequires: xorg-lib-libXrender-devel | |
31 | Requires(post,postun): gtk-update-icon-cache | |
32 | Requires(post,postun): shared-mime-info | |
33 | Requires(post,postun): desktop-file-utils | |
1fd72925 | 34 | Suggests: openbox |
417e55b3 | 35 | Obsoletes: tint2-examples < 17.0.2 |
1fd72925 | 36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
39 | tint2 is a simple panel/taskbar intentionally made for openbox3, but | |
40 | should also work with other window managers. It's based on ttm code | |
41 | http://code.google.com/p/ttm/ | |
42 | ||
43 | %description -l pl.UTF-8 | |
44 | tint2 jest prostym panelem/zasobnikiem oryginalnie zaprojektowanym dla | |
9ac6ed68 | 45 | openbox3, ale powinien również współpracować z innymi menadżerami |
1fd72925 | 46 | okien. Jego kod oparty jest na ttm http://code.google.com/p/ttm/ |
47 | ||
48 | %prep | |
417e55b3 | 49 | %setup -q -n %{name}-v%{version} |
75436c36 | 50 | mkdir build |
1fd72925 | 51 | |
52 | %build | |
75436c36 | 53 | cd build |
417e55b3 | 54 | %cmake .. |
66510a33 | 55 | %{__make} |
1fd72925 | 56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
9ac6ed68 | 59 | |
75436c36 | 60 | %{__make} -C build install \ |
1fd72925 | 61 | DESTDIR=$RPM_BUILD_ROOT |
62 | ||
417e55b3 KM |
63 | %{__rm} -rf $RPM_BUILD_ROOT%{_docdir} |
64 | ||
65 | %find_lang tint2conf | |
9ac6ed68 | 66 | |
1fd72925 | 67 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
417e55b3 KM |
70 | %post |
71 | %update_desktop_database_post | |
72 | %update_icon_cache hicolor | |
73 | %update_mime_database | |
74 | ||
75 | %postun | |
76 | %update_desktop_database_postun | |
77 | %update_icon_cache hicolor | |
78 | %update_mime_database | |
79 | ||
80 | %files -f tint2conf.lang | |
1fd72925 | 81 | %defattr(644,root,root,755) |
417e55b3 | 82 | %doc AUTHORS ChangeLog README.md doc/{tint2.md,images,manual.html,readme.html} |
1fd72925 | 83 | %attr(755,root,root) %{_bindir}/tint2 |
75436c36 | 84 | %attr(755,root,root) %{_bindir}/tint2conf |
1fd72925 | 85 | %dir %{_sysconfdir}/xdg/tint2 |
71e5c8a8 | 86 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/tint2/tint2rc |
b2b552ff | 87 | %dir %{_datadir}/tint2 |
88 | %{_datadir}/tint2/default_icon.png | |
71e5c8a8 | 89 | %{_mandir}/man1/tint2.1.* |
75436c36 | 90 | %{_desktopdir}/tint2conf.desktop |
417e55b3 KM |
91 | %{_desktopdir}/tint2.desktop |
92 | %{_iconsdir}/hicolor/scalable/apps/tint2.svg | |
93 | %{_iconsdir}/hicolor/scalable/apps/tint2conf.svg | |
94 | %{_datadir}/mime/packages/tint2conf.xml | |
95 | %{_datadir}/tint2/*.tint2rc | |
9ac6ed68 | 96 |