]> git.pld-linux.org Git - packages/cbview.git/blob - cbview.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cbview.git] / cbview.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Comic book archives viewer
3 Summary(pl.UTF-8):      Przeglądarka komiksów
4 Name:           cbview
5 Version:        0.06
6 Release:        3
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://elvine.org/code/%{name}/%{name}-%{version}.tar.gz
10 # Source0-md5:  6f101dbcecc6d70f59a4b8cec4152446
11 Source1:        %{name}.desktop
12 URL:            http://elvine.org/code/cbview/
13 BuildRequires:  rpm-perlprov
14 BuildRequires:  unrar
15 BuildRequires:  unzip
16 Requires:       perl-Gtk2
17 Requires:       perl-String-ShellQuote
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 CBView is a viewer/converter for CBR/CBZ comic book archives, written
23 with gtk2-perl.
24
25 %description -l pl.UTF-8
26 CBView to przeglądarka/konwerter archiwów komiksów w formacie CBR/CBZ,
27 napisana przy użyciu gtk2-perl.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 install -d $RPM_BUILD_ROOT%{_desktopdir}
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes README TODO
52 %attr(755,root,root) %{_bindir}/*
53 %{_desktopdir}/*.desktop
This page took 0.053082 seconds and 3 git commands to generate.