~woffs/geb

geb/geb.spec -rw-r--r-- 728 bytes
e9b559ed — Frank Doepper all UTF-8 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Summary: Geburtstagsvorwarner
Name: geb
%define version 1.2
%define dirname %{name}
Version: %{version}
Prefix: /usr/local
Release: 1fd
Group: application
Distribution: tax
Packager: Frank Doepper <fd@taz.de>
Copyright: GPL
%define file0 %{name}-%{version}.tar.gz
Source: %file0
URL: http://woffs.home.pages.de/linux/

%description
Eine Woche vorher die Geburtstage wissen.

%prep
  rm -rf $RPM_BUILD_DIR/%dirname
  tar xvfz $RPM_SOURCE_DIR/%file0
  cd $RPM_BUILD_DIR/%dirname

%build
  cd $RPM_BUILD_DIR/%dirname
  make

%install
  cd $RPM_BUILD_DIR/%dirname
  make install
  install -m644 geb.dat /usr/local/lib/

%clean
  rm -rf $RPM_BUILD_DIR/%dirname

%files
%defattr(-,root,root)
/usr/local/bin/geb
/usr/local/lib/geb.dat