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