]> git.pld-linux.org Git - packages/disc-cover.git/blob - disc-cover.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/disc-cover.git] / disc-cover.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Cover generator
3 Summary(pl.UTF-8):      Generator okładek
4 Name:           disc-cover
5 Version:        1.5.6
6 Release:        1
7 License:        GPL
8 Group:          Applications
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
12 Requires:       tetex-dvips
13 Requires:       tetex-format-latex
14 Requires:       ImageMagick
15 Requires:       perl-Audio-CD
16 BuildRequires:  perl-devel >= 1:5.6
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
27
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.
34
35 %prep
36 %setup -q
37
38 %build
39 ./disc-cover -H > README
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/templates}
44
45 install disc-cover $RPM_BUILD_ROOT%{_bindir}
46 install templates/* $RPM_BUILD_ROOT%{_datadir}/%{name}/templates
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS CHANGELOG TODO README
54 %attr(755,root,root) %{_bindir}/*
55 %{_datadir}/%{name}
This page took 0.06476 seconds and 3 git commands to generate.