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 # copy gcstar perl-libs to /usr/share instead of /usr/lib
24 Patch2: %{name}-perlmoddir.patch
25 URL: http://www.gcstar.org/
26 BuildRequires: perl-Archive-Zip
27 BuildRequires: perl-Gtk2
28 BuildRequires: perl-XML-LibXML
29 BuildRequires: perl-XML-Simple
30 BuildRequires: perl-libwww
31 BuildRequires: rpm-perlprov
32 Requires(post,postun): desktop-file-utils
33 # I don't know why, but builder says the following:
34 # By install missed the following packages. /uzsolt/
35 Provides: perl(GCBackend::GCBeXmlBase)
36 Provides: perl(GCDoubleListDialog)
37 Provides: perl(GCExport::GCExportBaseClass)
38 Provides: perl(GCExportImportBase)
39 Provides: perl(GCFieldsSelectionDialog)
40 Provides: perl(GCImport::GCImportBaseClass)
41 Provides: perl(GCItemExtracter)
42 Provides: perl(GCModalDialog)
43 Provides: perl(GCPluginParser)
44 Provides: perl(GCPlugins::GCTVepisodes::GCPluginTvdb)
45 Provides: perl(GCPlugins::GCTVepisodes::GCTVepisodesPluginsBase)
46 Provides: perl(GCPlugins::GCboardgames::GCboardgamesPluginsBase)
47 Provides: perl(GCPlugins::GCbooks::GCbooksAdlibrisPluginsBase)
48 Provides: perl(GCPlugins::GCbooks::GCbooksAmazonPluginsBase)
49 Provides: perl(GCPlugins::GCbooks::GCbooksPluginsBase)
50 Provides: perl(GCPlugins::GCcomics::GCcomicsPluginsBase)
51 Provides: perl(GCPlugins::GCfilms::GCfilmsAmazonPluginsBase)
52 Provides: perl(GCPlugins::GCfilms::GCfilmsPluginsBase)
53 Provides: perl(GCPlugins::GCgames::GCgamesAmazonPluginsBase)
54 Provides: perl(GCPlugins::GCgames::GCgamesPluginsBase)
55 Provides: perl(GCPlugins::GCmusics::GCmusicsPluginsBase)
56 Provides: perl(GCItemsLists::GCImageLists)
57 Provides: perl(GCItemsLists::GCTextLists)
58 Provides: perl(Gtk2::Dialog)
59 Provides: perl(Gtk2::MenuBar)
60 Provides: perl(Gtk2::MessageDialog)
61 Provides: perl(Gtk2::ScrolledWindow)
62 Provides: perl(Gtk2::Toolbar)
63 Provides: perl(Gtk2::TreeView)
64 Provides: perl(Gtk2::VBox)
65 Provides: perl(Gtk2::Window)
67 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70 GCstar is an application to manage different kind of collections. It
71 is designed to be able to support as many type of collections as
72 needed. For the moment it supports these ones:
76 - User defined collections
78 %description -l hu.UTF-8
79 GCstar egy alkalmazás, amellyel gyűjtemények különféle fajtáit
80 tarthatjuk nyilván. Annyi típusú gyűjteményt tud kezelni, amennyire
81 csak szükségünk lehet. Jelenleg a következőket:
85 - felhasználó által definiált gyűjtemények
87 %description -l pl.UTF-8
88 GCstar jest aplikacją do zarządzania różnymi rodzajami kolekcji. Jest
89 zaprojektowana by móc wspierać wszystkie potrzebne typy kolekcji.
90 Aktualnie wspiera kolekcje:
94 - kolekcje zdefiniowane przez użytkownika
103 rm -rf $RPM_BUILD_ROOT
106 --prefix=$RPM_BUILD_ROOT%{_prefix}
108 install -d $RPM_BUILD_ROOT%{_desktopdir}
109 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
110 install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
111 install share/gcstar/icons/gcstar_64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
114 rm -rf $RPM_BUILD_ROOT
117 %update_desktop_database_post
120 %update_desktop_database_postun
123 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_bindir}/*
126 %dir %{_datadir}/%{name}
127 %{_datadir}/%{name}/*
129 %{_desktopdir}/*.desktop