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