]> git.pld-linux.org Git - packages/gcstar.git/blob - gcstar.spec
- R(post,postun): desktop-file-utils
[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-XML-Simple
22 BuildRequires:  perl-libwww
23 Requires(post,postun):  desktop-file-utils
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 GCstar is an application to manage different kind of collections. It
28 is designed to be able to support as many type of collections as
29 needed. For the moment it supports these ones:
30  - Movies
31  - Video games
32  - Books
33  - User defined collections
34
35 %description -l pl
36 GCstar jest aplikacj± do zarz±dzania ró¿nymi rodzajami kolekcji. Jest
37 zaprojektowana by móc wspieraæ wszystkie potrzebne typy kolekcji.
38 Aktualnie wspiera kolekcje:
39  - filmów
40  - gier wideo
41  - ksi±¿ek
42  - kolekcje zdefiniowane przez u¿ytkownika
43
44 %prep
45 %setup -q -n %{name}
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 ./install --text \
55         --prefix=$RPM_BUILD_ROOT%{_prefix}
56
57 install -d $RPM_BUILD_ROOT%{_desktopdir}
58 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
59 install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
60 install share/gcstar/icons/gcstar_64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %update_desktop_database_post
67
68 %postun
69 %update_desktop_database_postun
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README
74 %attr(755,root,root) %{_bindir}/*
75 %dir %{_datadir}/%{name}
76 %{_datadir}/%{name}/*
77 %dir %{_libdir}/%{name}
78 %{_libdir}/%{name}/*
79 %{_mandir}/man1/*
80 %{_desktopdir}/*.desktop
81 %{_pixmapsdir}/*.png
This page took 0.065678 seconds and 4 git commands to generate.