Compare commits
10 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
050922912d | ||
|
|
e7d3f87f75 | ||
| ba1d1bcff0 | |||
| 6a1bb22c7e | |||
| aafdf21822 | |||
| eab0c8d2b6 | |||
| e30aa2b332 | |||
| fed910527a | |||
| a2e299f7b2 | |||
| f5434de7c6 |
5 changed files with 89 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
tzclock-2.7.2.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: tzclock
|
||||
# $Id$
|
||||
NAME := tzclock
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
2b47c36a978373b401e61a8f23d78377 tzclock-2.7.2.tar.gz
|
||||
87
tzclock.spec
Normal file
87
tzclock.spec
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
Name: tzclock
|
||||
Version: 2.7.2
|
||||
Release: 1%{?dist}
|
||||
Summary: GTK+ graphical Clock displaying the time around the world
|
||||
|
||||
Group: Amusements/Graphics
|
||||
License: GPLv2
|
||||
URL: http://www.tzclock.org/
|
||||
Source0: http://www.tzclock.org/releases/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libgnomeui-devel
|
||||
BuildRequires: librsvg2-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
TzClock is an X Window GTK+ graphical Clock that can display
|
||||
the time around the world. It supports multiple faces showing
|
||||
different time zones.
|
||||
There is a stopwatch funtion that is accurate to a tenth of a second,
|
||||
plus there are many other nice features for you to discover.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
# Manual install
|
||||
for dir in \
|
||||
%{_bindir} \
|
||||
%{_datadir}/{applications,pixmaps} \
|
||||
%{_mandir}/man1
|
||||
do
|
||||
%{__mkdir_p} $RPM_BUILD_ROOT$dir
|
||||
done
|
||||
|
||||
%{__install} -p -m 0755 TzClockCairo $RPM_BUILD_ROOT%{_bindir}/TzClock
|
||||
%{__install} -p -m 0644 TzClock.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
||||
%{__install} -p -m 0644 TzClock.man $RPM_BUILD_ROOT%{_mandir}/man1/TzClock.1
|
||||
|
||||
desktop-file-install \
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
--vendor fedora \
|
||||
TzClock.desktop
|
||||
|
||||
# I like lower case!
|
||||
%{__ln_s} -f TzClock $RPM_BUILD_ROOT%{_bindir}/%{name}
|
||||
%{__ln_s} -f TzClock.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS
|
||||
%doc COPYING
|
||||
|
||||
%{_bindir}/*
|
||||
%{_datadir}/pixmaps/*svg
|
||||
%{_datadir}/applications/*desktop
|
||||
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 25 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.7.2-1
|
||||
- 2.7.2
|
||||
|
||||
* Thu May 15 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.7.1-1
|
||||
- 2.7.1
|
||||
|
||||
* Sat Apr 12 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.6.1-3
|
||||
- "New" 2.6.1 (modified tarball with the same version)
|
||||
|
||||
* Fri Apr 11 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.6.1-2
|
||||
- 2.6.1
|
||||
|
||||
* Sat Feb 9 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
|
||||
- Rebuild against gcc43 (F-9)
|
||||
|
||||
* Wed Dec 5 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.5.5-1
|
||||
- Initial packaging
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue