1 %include /usr/lib/rpm/macros.perl
2 Summary: Cover generator
3 Summary(pl.UTF-8): Generator okładek
9 Source0: http://www.vanhemert.co.uk/files/%{name}-%{version}.tar.gz
10 # Source0-md5: 4d8cf0e644a9b311f7e6ed44944b9033
11 URL: http://www.vanhemert.co.uk/disc-cover.html
13 Requires: tetex-format-latex
15 Requires: perl-Audio-CD
16 BuildRequires: perl-devel >= 1:5.6
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 disc-cover provides an easy way to produce covers for audio cds. It
23 scans audio cds and uses information from the freedb database to build
24 a back and front cover for the cd. The cover is output is in Latex,
25 Dvi, Pdf or Postscript. This little gadget lets you produce covers
26 without typing in all the information yourself.
28 %description -l pl.UTF-8
29 disc-cover udostępnia łatwy sposób produkcji okładek na płyty z
30 muzyką. Skanuje płytę i używa informacji z bazy danych freedb, by
31 złożyć przednią i tylną okładkę. Formaty wyjściowe to latex, dvi, pdf,
32 postscript. Dzięki temu małemu gadżetowi możesz robić okładki nie
33 wpisując żadnych informacji.
39 ./disc-cover -H > README
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/templates}
45 install disc-cover $RPM_BUILD_ROOT%{_bindir}
46 install templates/* $RPM_BUILD_ROOT%{_datadir}/%{name}/templates
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc AUTHORS CHANGELOG TODO README
54 %attr(755,root,root) %{_bindir}/*