]> git.pld-linux.org Git - packages/cbview.git/blob - cbview.spec
- add BR: unzip, unrar
[packages/cbview.git] / cbview.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Comic book archives viewer
3 Summary(pl):    Przegl±darka komiksów
4 Name:           cbview
5 Version:        0.06
6 Release:        1
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:  unrar
14 BuildRequires:  unzip
15 Requires:       perl-Gtk2
16 Requires:       perl-String-ShellQuote
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 CBView is a viewer/converter for CBR/CBZ comic book archives, written
22 with gtk2-perl.
23
24 %description -l pl
25 CBView to przegl±darka/konwerter archiwów komiksów w formacie CBR/CBZ,
26 napisana przy u¿yciu gtk2-perl.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 install -d $RPM_BUILD_ROOT%{_desktopdir}
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes README TODO
51 %attr(755,root,root) %{_bindir}/*
52 %{_desktopdir}/*
This page took 0.074714 seconds and 3 git commands to generate.