]> git.pld-linux.org Git - packages/tint2.git/blame - tint2.spec
- up to 0.9
[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
b2b552ff 8Version: 0.9
0a88a11e 9Release: 1
1fd72925 10License: GPL v2
11Group: Applications
0a88a11e 12Source0: http://tint2.googlecode.com/files/%{name}-%{version}.tar.gz
13# Source0-md5: 411de6ccb8b82089852d8c854b12ddb9
9ac6ed68 14Source1: http://tint2.googlecode.com/files/%{name}-0.7.pdf
15# Source1-md5: 25980bd22fabc6a66660173fa639957b
6c4742eb 16Patch0: %{name}-tintwizard_conf.patch
1fd72925 17URL: http://code.google.com/p/tint2/
9ac6ed68 18BuildRequires: autoconf
19BuildRequires: automake
1fd72925 20BuildRequires: cairo-devel
21BuildRequires: glib2-devel
22BuildRequires: imlib2-devel
33aa2645 23BuildRequires: libpng-devel
9ac6ed68 24BuildRequires: libtool
1fd72925 25BuildRequires: pango-devel
26BuildRequires: pkgconfig
22431680 27BuildRequires: rpm-pythonprov
485c8ca9 28BuildRequires: xorg-lib-libXcomposite-devel
29BuildRequires: xorg-lib-libXdamage-devel
1fd72925 30BuildRequires: xorg-lib-libXinerama-devel
20e442d6 31%if %{with tintwizard}
32Requires: python
33Requires: python-pygtk-gtk
34%endif
1fd72925 35Suggests: openbox
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
9ac6ed68 48%package examples
22431680 49Summary: tint2 - example configurations
50Summary(pl.UTF-8): tint2 - przykładowe konfiguracje
51Group: Documentation
52Requires: %{name} = %{version}-%{release}
9ac6ed68 53
54%description examples
55tint2 - example configurations.
56
57%description examples -l pl.UTF-8
58tint2 - przykładowe konfiguracje.
59
1fd72925 60%prep
0a88a11e 61%setup -q -n %{name}-%{version}
6c4742eb 62%patch0 -p1
1fd72925 63
64%build
9ac6ed68 65%{__libtoolize}
66%{__aclocal}
67%{__autoconf}
68%{__autoheader}
69%{__automake}
70%configure
8e00dfac 71%{__make} \
72 CC="%{__cc}" \
73 CFLAGS="%{rpmcflags} %{rpmldflags}"
1fd72925 74
75%install
76rm -rf $RPM_BUILD_ROOT
9ac6ed68 77install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
fc82e1ad 78%{?with_tintwizard:install -d $RPM_BUILD_ROOT%{_bindir}}
9ac6ed68 79
1fd72925 80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
82
20e442d6 83%{?with_tintwizard:cp src/tint2conf/tintwizard.py $RPM_BUILD_ROOT%{_bindir}}
9ac6ed68 84cp %{SOURCE1} doc
22431680 85install sample/*.tint2rc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
9ac6ed68 86
1fd72925 87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%files
91%defattr(644,root,root,755)
9ac6ed68 92%doc AUTHORS ChangeLog NEWS README doc/tint2-0.7.pdf
1fd72925 93%attr(755,root,root) %{_bindir}/tint2
20e442d6 94%{?with_tintwizard:%attr(755,root,root) %{_bindir}/tintwizard.py}
1fd72925 95%dir %{_sysconfdir}/xdg/tint2
71e5c8a8 96%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/tint2/tint2rc
b2b552ff 97%dir %{_datadir}/tint2
98%{_datadir}/tint2/default_icon.png
71e5c8a8 99%{_mandir}/man1/tint2.1.*
9ac6ed68 100
101%files examples
102%defattr(644,root,root,755)
103%{_examplesdir}/%{name}-%{version}
This page took 0.804522 seconds and 4 git commands to generate.