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