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
6 %include /usr/lib/rpm/macros.perl
7 Summary: GCstar: collection manager
8 Summary(pl): GCstar: zarz±dca kolekcji
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)
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:
33 - User defined collections
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:
42 - kolekcje zdefiniowane przez u¿ytkownika
52 rm -rf $RPM_BUILD_ROOT
55 --prefix=$RPM_BUILD_ROOT%{_prefix}
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
63 rm -rf $RPM_BUILD_ROOT
66 %update_desktop_database_post
69 %update_desktop_database_postun
72 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/*
75 %dir %{_datadir}/%{name}
77 %dir %{_libdir}/%{name}
80 %{_desktopdir}/*.desktop