]> git.pld-linux.org Git - packages/ayam.git/blob - ayam.spec
- updated.
[packages/ayam.git] / ayam.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build with tests
4 %bcond_without  tests           # build without tests
5 #
6 Summary:        ayam
7 Summary(pl):    ayam
8 Name:           ayam
9 Version:        1.8.2
10 Release:        0.1
11 Epoch:          0
12 License:        GPL
13 #Vendor:                -
14 Group:          -
15 #Icon:          -
16 Source0:        http://dl.sourceforge.net/%{name}/%{name}%{version}.src.tar.gz
17 # Source0-md5:  
18 #Source1:       -
19 # Source1-md5:  -
20 Patch0:         %{name}-Makefile.shared.patch
21 #URL:           -
22 BuildRequires:  OpenGL-devel
23 BuildRequires:  tcl-devel
24 BuildRequires:  tk-devel
25 BuildRequires:  OpenGL-devel
26 #PreReq:                -
27 #Requires(pre,post):    -
28 #Requires(preun):       -
29 #Requires(postun):      -
30 #Requires:      -
31 #Provides:      -
32 #Obsoletes:     -
33 #Conflicts:     -
34 #BuildArch:     noarch
35 #ExclusiveArch:  %{ix86}
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39
40 %description -l pl
41
42 #%package subpackage
43 #Summary:       -
44 #Summary(pl):   -
45 #Group:         -
46
47 #%description subpackage
48
49 #%description subpackage -l pl
50
51 %prep
52 %setup -q -n %{name}
53 %patch0 -p1
54
55 %build
56 cd src
57 make  -f Makefile.shared 
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 # create directories if necessary
62 #install -d $RPM_BUILD_ROOT
63
64 #%{__make} install \
65 #       DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %pre
71
72 %post
73
74 %preun
75
76 %postun
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
81
82 # if _sysconfdir != /etc:
83 #%%dir %{_sysconfdir}
84 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
85
86 %attr(755,root,root) %{_bindir}/*
87
88 %{_datadir}/%{name}
89
90 # initscript and its config
91 %attr(754,root,root) /etc/rc.d/init.d/%{name}
92 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
93
94 #%files subpackage
95 #%defattr(644,root,root,755)
96 #%doc extras/*.gz
97 #%{_datadir}/%{name}-ext
This page took 0.041872 seconds and 3 git commands to generate.