]> git.pld-linux.org Git - packages/gfocustimer.git/commitdiff
- updated to 0.5, RA-1_0 STABLE gfocustimer-0_5-1
authorkloczek <kloczek@pld-linux.org>
Thu, 15 Nov 2001 02:29:31 +0000 (02:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added DESTDIR patch and regenerate ac/am files,
- added BuildRequires rules,
- Group changed to X11/Applications.

Changed files:
    gfocustimer.spec -> 1.8

gfocustimer.spec

index 74966b36251031e4a21822e0732ccd5dc3ce0cdc..c8bb7b8a8e2fe69903f9d003d1b4b62f4ac0fdbe 100644 (file)
@@ -2,16 +2,23 @@ Summary:      Prepare timesheet from X window usage
 Summary(pl):   Aplikacja przygotowuj±ca rozk³ad korzystania z okienek X
 Vendor:                James Cameron
 Name:          gfocustimer
-Version:       0.4
+Version:       0.5
 Release:       1
 License:       GPL
-Group:         Applications
-Group(de):     Applikationen
-Group(pl):     Aplikacje
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(pl):     X11/Aplikacje
 Source0:       http://quozl.us.netrek.org/gfocustimer/%{name}-%{version}.tar.gz
+Patch0:                %{name}-DESTDIR.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gtk+-devel
 URL:           http://quozl.us.netrek.org/gfocustimer/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+
 %description
 gfocustimer captures information about which windows you are spending
 your time in, to assist with personal scheduling and preparing
@@ -33,22 +40,29 @@ zadaniami.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-./configure --prefix=%{_prefix}
+rm -f missing
+aclocal
+autoconf
+automake -a -c
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}/
-install src/gfocustimer $RPM_BUILD_ROOT%{_bindir}/
-install -d $RPM_BUILD_ROOT%{_mandir}/man1/
-install gfocustimer.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf AUTHORS ChangeLog NEWS README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc *.gz
 %attr(755,root,root) %{_bindir}/gfocustimer
-%{_mandir}/man1/gfocustimer.1
+%{_mandir}/man1/gfocustimer.1*
This page took 0.068504 seconds and 4 git commands to generate.