]> git.pld-linux.org Git - packages/gcstar.git/blob - gcstar.spec
- tabs
[packages/gcstar.git] / gcstar.spec
1 # NOTES:- warnings like this: /usr/lib/rpm/perl.prov: weird, cannot determine the package name for
2 #        `/mnt/hda5/tmp/gcstar-0.5.0-root-inter/usr/lib/gcstar/GCLang/BG/GCstar.pm'
3 #       - mark with lang() _datadir/lib/GCLang/*
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        GCstar: collection manager
7 Summary(pl.UTF-8):      GCstar: zarządca kolekcji
8 Name:           gcstar
9 Version:        1.4.0
10 Release:        1
11 License:        GPL
12 Group:          Applications
13 Source0:        http://download.gna.org/gcstar/%{name}-%{version}.tar.gz
14 # Source0-md5:  70bebd9e52e2f9d1532e91080604b26f
15 Patch0:         %{name}-mandir.patch
16 Patch1:         %{name}-desktop.patch
17 Patch2:         %{name}-perlmoddir.patch
18 URL:            http://www.gcstar.org/
19 BuildRequires:  perl-Archive-Zip
20 BuildRequires:  perl-Gtk2
21 BuildRequires:  perl-XML-Simple
22 BuildRequires:  perl-XML-LibXML
23 BuildRequires:  perl-libwww
24 BuildRequires:  rpm-perlprov
25 Requires(post,postun):  desktop-file-utils
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 GCstar is an application to manage different kind of collections. It
31 is designed to be able to support as many type of collections as
32 needed. For the moment it supports these ones:
33  - Movies
34  - Video games
35  - Books
36  - User defined collections
37
38 %description -l pl.UTF-8
39 GCstar jest aplikacją do zarządzania różnymi rodzajami kolekcji. Jest
40 zaprojektowana by móc wspierać wszystkie potrzebne typy kolekcji.
41 Aktualnie wspiera kolekcje:
42  - filmów
43  - gier wideo
44  - książek
45  - kolekcje zdefiniowane przez użytkownika
46
47 %prep
48 %setup -q -n %{name}
49 %patch0 -p1
50 %patch1 -p1
51 %patch2 -p1
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 ./install --text \
57         --prefix=$RPM_BUILD_ROOT%{_prefix}
58
59 install -d $RPM_BUILD_ROOT%{_desktopdir}
60 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
61 install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
62 install share/gcstar/icons/gcstar_64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post
68 %update_desktop_database_post
69
70 %postun
71 %update_desktop_database_postun
72
73 %files
74 %defattr(644,root,root,755)
75 %doc README
76 %attr(755,root,root) %{_bindir}/*
77 %dir %{_datadir}/%{name}
78 %{_datadir}/%{name}/*
79 %{_mandir}/man1/*
80 %{_desktopdir}/*.desktop
81 %{_pixmapsdir}/*.png
This page took 0.078026 seconds and 4 git commands to generate.