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-libwww
22 BuildRequires: perl-XML-Simple
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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:
32 - User defined collections
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:
41 - kolekcje zdefiniowane przez u¿ytkownika
51 rm -rf $RPM_BUILD_ROOT
54 --prefix=$RPM_BUILD_ROOT%{_prefix}
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
62 rm -rf $RPM_BUILD_ROOT
65 %update_desktop_database_post
68 %update_desktop_database_postun
71 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/*
74 %dir %{_datadir}/%{name}
76 %dir %{_libdir}/%{name}
79 %{_desktopdir}/*.desktop