]> git.pld-linux.org Git - packages/tint2.git/blame - tint2.spec
- up to 0.11
[packages/tint2.git] / tint2.spec
CommitLineData
20e442d6 1#
2# Conditional build:
73e474dc 3%bcond_without tintwizard # build without tintwizard
20e442d6 4#
1fd72925 5Summary: tint2 is a simple panel/taskbar intentionally made for openbox3
6Summary(pl.UTF-8): tint2 jest prostym panelem oryginalnie zaprojektowanym dla openbox3
7Name: tint2
75436c36 8Version: 0.11
9Release: 0.1
1fd72925 10License: GPL v2
11Group: Applications
75436c36 12Source0: http://tint2.googlecode.com/files/%{name}-%{version}.tar.bz2
13# Source0-md5: 6fc5731e7425125fa84a2add5cef4bff
9ac6ed68 14Source1: http://tint2.googlecode.com/files/%{name}-0.7.pdf
15# Source1-md5: 25980bd22fabc6a66660173fa639957b
1fd72925 16URL: http://code.google.com/p/tint2/
17BuildRequires: cairo-devel
75436c36 18BuildRequires: cmake
19BuildRequires: desktop-file-utils
1fd72925 20BuildRequires: glib2-devel
21BuildRequires: imlib2-devel
33aa2645 22BuildRequires: libpng-devel
9ac6ed68 23BuildRequires: libtool
1fd72925 24BuildRequires: pango-devel
25BuildRequires: pkgconfig
22431680 26BuildRequires: rpm-pythonprov
485c8ca9 27BuildRequires: xorg-lib-libXcomposite-devel
28BuildRequires: xorg-lib-libXdamage-devel
1fd72925 29BuildRequires: xorg-lib-libXinerama-devel
20e442d6 30%if %{with tintwizard}
31Requires: python
32Requires: python-pygtk-gtk
33%endif
1fd72925 34Suggests: openbox
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38tint2 is a simple panel/taskbar intentionally made for openbox3, but
39should also work with other window managers. It's based on ttm code
40http://code.google.com/p/ttm/
41
42%description -l pl.UTF-8
43tint2 jest prostym panelem/zasobnikiem oryginalnie zaprojektowanym dla
9ac6ed68 44openbox3, ale powinien również współpracować z innymi menadżerami
1fd72925 45okien. Jego kod oparty jest na ttm http://code.google.com/p/ttm/
46
9ac6ed68 47%package examples
22431680 48Summary: tint2 - example configurations
49Summary(pl.UTF-8): tint2 - przykładowe konfiguracje
50Group: Documentation
51Requires: %{name} = %{version}-%{release}
9ac6ed68 52
53%description examples
54tint2 - example configurations.
55
56%description examples -l pl.UTF-8
57tint2 - przykładowe konfiguracje.
58
1fd72925 59%prep
0a88a11e 60%setup -q -n %{name}-%{version}
75436c36 61mkdir build
1fd72925 62
63%build
75436c36 64cd build
65%cmake \
66 -DCMAKE_INSTALL_PREFIX=%{_usr} \
67 ..
8e00dfac 68%{__make} \
69 CC="%{__cc}" \
70 CFLAGS="%{rpmcflags} %{rpmldflags}"
1fd72925 71
72%install
73rm -rf $RPM_BUILD_ROOT
9ac6ed68 74install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
fc82e1ad 75%{?with_tintwizard:install -d $RPM_BUILD_ROOT%{_bindir}}
9ac6ed68 76
75436c36 77%{__make} -C build install \
1fd72925 78 DESTDIR=$RPM_BUILD_ROOT
79
20e442d6 80%{?with_tintwizard:cp src/tint2conf/tintwizard.py $RPM_BUILD_ROOT%{_bindir}}
9ac6ed68 81cp %{SOURCE1} doc
22431680 82install sample/*.tint2rc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
9ac6ed68 83
1fd72925 84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%files
88%defattr(644,root,root,755)
75436c36 89%doc AUTHORS ChangeLog README doc/tint2-0.7.pdf
1fd72925 90%attr(755,root,root) %{_bindir}/tint2
75436c36 91%attr(755,root,root) %{_bindir}/tint2conf
20e442d6 92%{?with_tintwizard:%attr(755,root,root) %{_bindir}/tintwizard.py}
1fd72925 93%dir %{_sysconfdir}/xdg/tint2
71e5c8a8 94%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/tint2/tint2rc
b2b552ff 95%dir %{_datadir}/tint2
96%{_datadir}/tint2/default_icon.png
71e5c8a8 97%{_mandir}/man1/tint2.1.*
75436c36 98%{_pixmapsdir}/tint2conf.png
99%{_pixmapsdir}/tint2conf.svg
100%{_desktopdir}/tint2conf.desktop
9ac6ed68 101
102%files examples
103%defattr(644,root,root,755)
104%{_examplesdir}/%{name}-%{version}
This page took 0.351417 seconds and 4 git commands to generate.