]> git.pld-linux.org Git - SPECS.git/blob - cbview.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / cbview.spec
1 Summary:        Comic book archives viewer
2 Summary(pl.UTF-8):      Przeglądarka komiksów
3 Name:           cbview
4 Version:        0.06
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://elvine.org/code/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  6f101dbcecc6d70f59a4b8cec4152446
10 Source1:        %{name}.desktop
11 URL:            http://elvine.org/code/cbview/
12 BuildRequires:  rpm-perlprov
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.UTF-8
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}/*.desktop
This page took 0.034291 seconds and 3 git commands to generate.