]> git.pld-linux.org Git - SPECS.git/blob - kurso.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / kurso.spec
1 Summary:        Esperanto language course
2 Summary(pl.UTF-8):      Kurs języka esperanto
3 Name:           kurso
4 Version:        20040531
5 Release:        0.1
6 License:        GPL (w/o sources - sic! - so non-distributable, possibly illegal)
7 Group:          X11/Applications/Science
8 Source0:        http://www.cursodeesperanto.com.br/%{name}.tar.gz
9 # NoSource0-md5:        480a07c5daf67e5fa0527f252f328af0
10 NoSource:       0
11 URL:            http://www.cursodeesperanto.com.br/bazo/index.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 ExclusiveArch:  %{ix86}
14
15 %description
16 Esperanto language course.
17
18 %description -l pl.UTF-8
19 Kurs języka esperanto.
20
21 %prep
22 %setup -q -c -n %{name}
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/kurso,%{_libdir},%{_sysconfdir}}
27
28 mkdir inst
29 cd inst
30
31 tar -zxf ../kurso-inst.tar.gz
32
33 cp bin/kurso3 $RPM_BUILD_ROOT%{_bindir}
34 cp lib/libborqt-6.9-qt2.3.so $RPM_BUILD_ROOT%{_libdir}
35
36 rm -rf bin lib
37 cp -r * $RPM_BUILD_ROOT%{_datadir}/kurso
38
39 cd ..
40
41 cat > $RPM_BUILD_ROOT%{_sysconfdir}/kurso.conf << EOF
42 path=%{_datadir}/kurso
43 EOF
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/kurso3
51 %attr(755,root,root) %{_libdir}/*
52 %{_datadir}/kurso
53 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/kurso.conf
This page took 0.524019 seconds and 3 git commands to generate.