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