]>
Commit | Line | Data |
---|---|---|
7c8673ba | 1 | Summary: Analog clock displaying the system-time |
6eca3e12 | 2 | Summary(pl.UTF-8): Zegar analogowy wyświetlający czas systemowy |
7c8673ba | 3 | Name: cairo-clock |
a283aebc | 4 | Version: 0.3.3 |
7c8673ba | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: X11/Amusements | |
a283aebc | 8 | Source0: http://macslow.thepimp.net/projects/cairo-clock/%{name}_%{version}-1.tar.gz |
9 | # Source0-md5: 2517b92e8ceea3dbb7df5d6c24d3d215 | |
7a21e7a3 | 10 | Patch0: %{name}-glade.patch |
7c8673ba | 11 | URL: http://macslow.thepimp.net/?page_id=23 |
f832ea72 | 12 | BuildRequires: cairo-devel >= 1.2.0 |
5188e3e1 | 13 | BuildRequires: gettext-devel |
f832ea72 JB |
14 | BuildRequires: glib2-devel >= 1:2.8.0 |
15 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
16 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
17 | BuildRequires: librsvg-devel >= 1:2.14.0 | |
18 | BuildRequires: pango-devel >= 1:1.10.0 | |
5188e3e1 | 19 | BuildRequires: perl-XML-Parser |
2b9865ae | 20 | BuildRequires: pkgconfig |
f832ea72 JB |
21 | Requires: cairo >= 1.2.0 |
22 | Requires: glib2 >= 1:2.8.0 | |
23 | Requires: gtk+2 >= 2:2.10.0 | |
24 | Requires: libglade2 >= 1:2.6.0 | |
25 | Requires: librsvg >= 1:2.14.0 | |
26 | Requires: pango >= 1:1.10.0 | |
7c8673ba | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | It's an analog clock displaying the system-time. "So what?", you | |
31 | might say, "There are about 1.023.493 of those already out there!". | |
32 | Indeed there are and probably some more, but this one is a bit | |
33 | different. It leverages the new visual features offered by | |
f832ea72 JB |
34 | Xorg 6.9/7.0 in combination with a compositing-manager (like compiz), |
35 | gtk+ 2.10.x, cairo 1.2.0 and librsvg 2.14.0 to produce a time-display | |
36 | with pretty-pixels. | |
7c8673ba | 37 | |
b3dd7ffc JR |
38 | %description -l pl.UTF-8 |
39 | To jest zegar analogowy wyświetlający czas systemowy. "I co z tego?" - | |
40 | można zapytać - "Jest już około 1023493 takich programów!". Owszem, | |
41 | jest pewnie jeszcze więcej, ale ten jest trochę inny. Wykorzystuje | |
42 | nowe możliwości wyświetlania oferowane przez Xorg 6.9/7.0 w połączeniu | |
f832ea72 JB |
43 | z zarządcą składania (np. compiz), gtk+ 2.10.x, cairo 1.2.0 i librsvg |
44 | 2.14.0 w celu stworzenia wyświetlacza z ładnymi pikselami. | |
2b9865ae | 45 | |
7c8673ba | 46 | %prep |
47 | %setup -q | |
a283aebc | 48 | #%patch0 -p1 |
7c8673ba | 49 | |
50 | %build | |
51 | %configure | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
f832ea72 JB |
61 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_PT,pt} |
62 | ||
a283aebc | 63 | %find_lang %{name} |
64 | ||
7c8673ba | 65 | %clean |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
a283aebc | 68 | %files -f %{name}.lang |
7c8673ba | 69 | %defattr(644,root,root,755) |
70 | %doc AUTHORS ChangeLog NEWS README TODO | |
71 | %attr(755,root,root) %{_bindir}/* | |
72 | %{_datadir}/%{name} | |
f9a3b31d | 73 | %{_desktopdir}/*.desktop |
7c8673ba | 74 | %{_pixmapsdir}/* |
75 | %{_mandir}/man1/* |