]> git.pld-linux.org Git - packages/clock.git/commitdiff
- rewritten for PLD use
authorpius <pius@pld-linux.org>
Sat, 4 Sep 1999 22:35:19 +0000 (22:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clock.spec -> 1.2

clock.spec

index c1865371ff950b11aa54cfbe1b18946b26744e8a..001d15cabb4eaece4262ba8b25f5072c1c5e9df5 100644 (file)
@@ -1,39 +1,45 @@
-Summary: A utility for querying and setting system time.
-Name: clock
-Version: 1.1
-Release: 6
-ExclusiveArch: sparc alpha
-Copyright: distributable
-Group: System Environment/Base
-Source: clock-1.1.tar.gz
-Patch0: clock-1.1-fix.patch
-Patch1: clock-1.1-fix2.patch
-BuildRoot: /var/tmp/clockroot
+Summary:       A utility for querying and setting system time
+Summary(pl):   Narzêdzie do odczytu i ustawiania zegara systemowego
+Name:          clock
+Version:       1.1
+Release:       7
+Copyright:     distributable
+Group:         Utilities/System
+Group(pl):     Narzêdzia/System
+Source:                clock-1.1.tar.gz
+Patch0:                clock-1.1-fix.patch
+Patch1:                clock-1.1-fix2.patch
+ExclusiveArch:  sparc alpha
+BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
 The clock utility is used to query and set system time.
 
-The clock program is a basic system utility and should be installed
-on your system.
+%description -l pl
+Narzêdzie clock s³u¿y do odczytywania i ustawiania zegara systemowego.
 
 %prep 
-%setup
-%patch0 -p1 -b .fix
-%patch1 -p1 -b .fix2
+%setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 gcc $RPM_OPT_FLAGS -Wall -o clock clock-$(uname -m).c
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/sbin
-mkdir -p $RPM_BUILD_ROOT/usr/man/man8
-install -s -m755 clock $RPM_BUILD_ROOT/sbin
-install -m 644 clock.8 $RPM_BUILD_ROOT/usr/man/man8
+install -d $RPM_BUILD_ROOT{/sbin,%{_mandir}/man8}
 
-%files
-%attr(-,root,root) /sbin/clock
-%attr(-,root,root) /usr/man/man8/clock.8
+install -s clock $RPM_BUILD_ROOT/sbin
+install clock.8  $RPM_BUILD_ROOT%{_mandir}/man8
+
+gzip -9nf %{_mandir}/man8/clock.8
 
 %clean
 rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) /sbin/clock
+
+%{_mandir}/man8/clock.8.gz
This page took 0.08981 seconds and 4 git commands to generate.