]> git.pld-linux.org Git - packages/br.git/blob - br.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/br.git] / br.spec
1 Summary:        Biorhythmus
2 Summary(pl):    biorytm
3 Name:           br
4 Version:        0.1
5 Release:        1
6 License:        ?
7 Group:          Applications
8 Source0:        http://www.sta.to/ftp/%{name}.tar.gz
9 # Source0-md5:  095229028b82631664116631e5caf93a
10 Source1:        http://www.sta.to/ftp/%{name}.c
11 # Source1-md5:  a11826334de33059a0894dcc63880049
12 Patch0:         %{name}-accept-cmdline.patch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Simple biorhythm-graph ascii-art drawer.
17
18 %description -l pl
19 Prosty kre¶larz biorytmów w ascii-art.
20
21 %package cgi
22 Summary:        aqq
23 Summary(pl):    aqq
24 Group:          Applications
25
26 %description cgi
27 cgi
28
29 %description cgi -l pl
30 cgi
31
32 %prep
33 %setup -q -n %{name}
34 %patch0 -p0
35
36 %build
37 rm -f %{name}.c
38 cp %{SOURCE1} ./
39 %{__cc} -lm -o %{name} %{name}.c
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/usr/bin
44
45 install %{name} $RPM_BUILD_ROOT/usr/bin
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/*
53 #%%{_datadir}/%{name}
54
55 %files cgi
56 %defattr(644,root,root,755)
57 #%doc extras/*.gz
58 #%%{_datadir}/%{name}-ext
This page took 0.079366 seconds and 4 git commands to generate.