]> git.pld-linux.org Git - packages/br.git/blob - br.spec
- massive attack: source-md5
[packages/br.git] / br.spec
1 Summary:        biorytm
2 Summary(pl):    bri
3 Name:           br
4 Version:   0.1
5 Release:  1
6 License:   Unknown (enter GPL/LGPL/BSD/BSD-like/other license name here)
7 Group:          amusment
8 #Vendor:                -
9 #Icon:          -
10 Source0:        http://www.sta.to/ftp/%{name}.tar.gz
11 # Source0-md5:  095229028b82631664116631e5caf93a
12 Source1:        http://www.sta.to/ftp/%{name}.c
13 # Source1-md5:  a11826334de33059a0894dcc63880049
14 Patch0:         %{name}-accept-cmdline.patch
15 URL:            -
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Simple biorytm-graph ascii-art drawer.
20
21 %description -l pl
22 Prosty kre¶larz biorytmów w ascii-art.
23
24 %package cgi
25 Summary:   aqq
26 Summary(pl):   aqq
27 Group:          -
28
29 %description cgi
30 cgi
31
32 %description cgi -l pl
33 cgi
34
35 %prep
36 %setup -q -n %{name} 
37 %patch0 -p0
38
39 %build
40 rm -f %{name}.c
41 cp %{SOURCE1} ./
42 %{__cc} -lm -o %{name} %{name}.c
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT/usr/bin
47
48 install %{name} $RPM_BUILD_ROOT/usr/bin
49
50 %clean
51
52 rm -rf $RPM_BUILD_ROOT
53
54 %pre
55
56 %post
57
58 %preun
59
60 %postun
61
62 %files
63 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_bindir}/*
65 #%%{_datadir}/%{name}
66
67 %files cgi
68 %defattr(644,root,root,755)
69 #%doc extras/*.gz
70 #%%{_datadir}/%{name}-ext
This page took 0.057609 seconds and 4 git commands to generate.