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