]> git.pld-linux.org Git - packages/tint2.git/blame - tint2.spec
- up to 17.0.2
[packages/tint2.git] / tint2.spec
CommitLineData
1fd72925 1Summary: tint2 is a simple panel/taskbar intentionally made for openbox3
2Summary(pl.UTF-8): tint2 jest prostym panelem oryginalnie zaprojektowanym dla openbox3
3Name: tint2
417e55b3
KM
4Version: 17.0.2
5Release: 1
1fd72925 6License: GPL v2
7Group: Applications
417e55b3
KM
8Source0: https://gitlab.com/o9000/tint2/-/archive/v17.0.2/%{name}-v%{version}.tar.bz2
9# Source0-md5: 60e5addfa33426229c00325a2e3af97b
10URL: https://gitlab.com/o9000/tint2/
1fd72925 11BuildRequires: cairo-devel
75436c36 12BuildRequires: cmake
13BuildRequires: desktop-file-utils
417e55b3 14BuildRequires: gettext-tools
1fd72925 15BuildRequires: glib2-devel
417e55b3
KM
16BuildRequires: gtk+3-devel
17BuildRequires: imlib2-devel >= 1.4.2
33aa2645 18BuildRequires: libpng-devel
417e55b3 19BuildRequires: librsvg-devel >= 2.14.0
9ac6ed68 20BuildRequires: libtool
1fd72925 21BuildRequires: pango-devel
22BuildRequires: pkgconfig
417e55b3
KM
23BuildRequires: startup-notification-devel >= 0.12
24BuildRequires: xorg-lib-libX11-devel
485c8ca9 25BuildRequires: xorg-lib-libXcomposite-devel
26BuildRequires: xorg-lib-libXdamage-devel
417e55b3 27BuildRequires: xorg-lib-libXext-devel
1fd72925 28BuildRequires: xorg-lib-libXinerama-devel
417e55b3
KM
29BuildRequires: xorg-lib-libXrandr-devel >= 1.3
30BuildRequires: xorg-lib-libXrender-devel
31Requires(post,postun): gtk-update-icon-cache
32Requires(post,postun): shared-mime-info
33Requires(post,postun): desktop-file-utils
1fd72925 34Suggests: openbox
417e55b3 35Obsoletes: tint2-examples < 17.0.2
1fd72925 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39tint2 is a simple panel/taskbar intentionally made for openbox3, but
40should also work with other window managers. It's based on ttm code
41http://code.google.com/p/ttm/
42
43%description -l pl.UTF-8
44tint2 jest prostym panelem/zasobnikiem oryginalnie zaprojektowanym dla
9ac6ed68 45openbox3, ale powinien również współpracować z innymi menadżerami
1fd72925 46okien. Jego kod oparty jest na ttm http://code.google.com/p/ttm/
47
48%prep
417e55b3 49%setup -q -n %{name}-v%{version}
75436c36 50mkdir build
1fd72925 51
52%build
75436c36 53cd build
417e55b3 54%cmake ..
66510a33 55%{__make}
1fd72925 56
57%install
58rm -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
68rm -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
This page took 0.097615 seconds and 4 git commands to generate.