]> git.pld-linux.org Git - packages/ayam.git/blame - ayam.spec
- updated.
[packages/ayam.git] / ayam.spec
CommitLineData
54370d25 1#
2# Conditional build:
3%bcond_with tests # build with tests
4%bcond_without tests # build without tests
5#
6Summary: ayam
7Summary(pl): ayam
8Name: ayam
9Version: 1.8.2
10Release: 0.1
11Epoch: 0
12License: GPL
13#Vendor: -
14Group: -
15#Icon: -
16Source0: http://dl.sourceforge.net/%{name}/%{name}%{version}.src.tar.gz
17# Source0-md5:
18#Source1: -
19# Source1-md5: -
4676866a 20Patch0: %{name}-Makefile.shared.patch
54370d25 21#URL: -
4676866a 22BuildRequires: OpenGL-devel
23BuildRequires: tcl-devel
24BuildRequires: tk-devel
25BuildRequires: OpenGL-devel
54370d25 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}
36BuildRoot: %{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}
4676866a 53%patch0 -p1
54370d25 54
55%build
4676866a 56cd src
57make -f Makefile.shared
54370d25 58
59%install
60rm -rf $RPM_BUILD_ROOT
61# create directories if necessary
62#install -d $RPM_BUILD_ROOT
63
4676866a 64#%{__make} install \
65# DESTDIR=$RPM_BUILD_ROOT
54370d25 66
67%clean
68rm -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.04603 seconds and 4 git commands to generate.