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/*
5 %include /usr/lib/rpm/macros.perl
6 Summary: GCstar: collection manager
7 Summary(hu.UTF-8): GCstar: gyűjtemény kezelő
8 Summary(pl.UTF-8): GCstar: zarządca kolekcji
14 Source0: http://download.gna.org/gcstar/%{name}-%{version}.tar.gz
15 # Source0-md5: 6c4b8d94b9577e6aa45bdec2a8d55625
16 Patch0: %{name}-mandir.patch
17 Patch1: %{name}-desktop.patch
18 Patch2: %{name}-perlmoddir.patch
19 URL: http://www.gcstar.org/
20 BuildRequires: perl-Archive-Zip
21 BuildRequires: perl-Gtk2
22 BuildRequires: perl-XML-LibXML
23 BuildRequires: perl-XML-Simple
24 BuildRequires: perl-libwww
25 BuildRequires: rpm-perlprov
26 Requires(post,postun): desktop-file-utils
27 # I don't know why, but builder says the following:
28 # /usr/lib/rpm/perl.prov: weird, cannot determine the package name for `/root/tmp/gcstar-1.4.2-root-root/usr/share/gcstar/lib/GCLang/SV/GCstar.pm'
30 # By install missed the following packages. /uzsolt/
31 Provides: perl(GCBackend::GCBeXmlBase)
32 Provides: perl(GCDoubleListDialog)
33 Provides: perl(GCExport::GCExportBaseClass)
34 Provides: perl(GCExportImportBase)
35 Provides: perl(GCFieldsSelectionDialog)
36 Provides: perl(GCImport::GCImportBaseClass)
37 Provides: perl(GCItemExtracter)
38 Provides: perl(GCModalDialog)
39 Provides: perl(GCPluginParser)
40 Provides: perl(GCPlugins::GCTVepisodes::GCPluginTvdb)
41 Provides: perl(GCPlugins::GCTVepisodes::GCTVepisodesPluginsBase)
42 Provides: perl(GCPlugins::GCboardgames::GCboardgamesPluginsBase)
43 Provides: perl(GCPlugins::GCbooks::GCbooksAdlibrisPluginsBase)
44 Provides: perl(GCPlugins::GCbooks::GCbooksAmazonPluginsBase)
45 Provides: perl(GCPlugins::GCbooks::GCbooksPluginsBase)
46 Provides: perl(GCPlugins::GCcomics::GCcomicsPluginsBase)
47 Provides: perl(GCPlugins::GCfilms::GCfilmsAmazonPluginsBase)
48 Provides: perl(GCPlugins::GCfilms::GCfilmsPluginsBase)
49 Provides: perl(GCPlugins::GCgames::GCgamesAmazonPluginsBase)
50 Provides: perl(GCPlugins::GCgames::GCgamesPluginsBase)
51 Provides: perl(GCPlugins::GCmusics::GCmusicsPluginsBase)
52 Provides: perl(Gtk2::Dialog)
53 Provides: perl(Gtk2::MenuBar)
54 Provides: perl(Gtk2::MessageDialog)
55 Provides: perl(Gtk2::ScrolledWindow)
56 Provides: perl(Gtk2::Toolbar)
57 Provides: perl(Gtk2::TreeView)
58 Provides: perl(Gtk2::VBox)
59 Provides: perl(Gtk2::Window)
61 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 GCstar is an application to manage different kind of collections. It
65 is designed to be able to support as many type of collections as
66 needed. For the moment it supports these ones:
70 - User defined collections
72 %description -l hu.UTF-8
73 GCstar egy alkalmazás, amellyel gyűjtemények különféle fajtáit
74 tarthatjuk nyilván. Annyi típusú gyűjteményt tud kezelni, amennyire
75 csak szükségünk lehet. Jelenleg a következőket:
79 - felhasználó által definiált gyűjtemények
81 %description -l pl.UTF-8
82 GCstar jest aplikacją do zarządzania różnymi rodzajami kolekcji. Jest
83 zaprojektowana by móc wspierać wszystkie potrzebne typy kolekcji.
84 Aktualnie wspiera kolekcje:
88 - kolekcje zdefiniowane przez użytkownika
97 rm -rf $RPM_BUILD_ROOT
100 --prefix=$RPM_BUILD_ROOT%{_prefix}
102 install -d $RPM_BUILD_ROOT%{_desktopdir}
103 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
104 install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
105 install share/gcstar/icons/gcstar_64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
108 rm -rf $RPM_BUILD_ROOT
111 %update_desktop_database_post
114 %update_desktop_database_postun
117 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_bindir}/*
120 %dir %{_datadir}/%{name}
121 %{_datadir}/%{name}/*
123 %{_desktopdir}/*.desktop