]>
Commit | Line | Data |
---|---|---|
8eff6485 | 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' | |
5f263671 | 3 | # - mark with lang() _datadir/lib/GCLang/* |
8eff6485 | 4 | # |
2bcc22c6 ZU |
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' |
6 | # and similar | |
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 | |
4a7c6738 | 9 | # - maybe create subpackage |
2d948bf5 | 10 | %include /usr/lib/rpm/macros.perl |
c448fb71 | 11 | Summary: GCstar: collection manager |
d58332be | 12 | Summary(hu.UTF-8): GCstar: gyűjtemény kezelő |
4e3f85ee | 13 | Summary(pl.UTF-8): GCstar: zarządca kolekcji |
00b89f0a | 14 | Name: gcstar |
4a7c6738 | 15 | Version: 1.5.0 |
3f96cce4 | 16 | Release: 1 |
00b89f0a | 17 | License: GPL |
4a7c6738 | 18 | Group: X11/Applications |
00b89f0a | 19 | Source0: http://download.gna.org/gcstar/%{name}-%{version}.tar.gz |
4a7c6738 | 20 | # Source0-md5: 966652b3f331d72c76509e13fc4dfba5 |
00b89f0a | 21 | Patch0: %{name}-mandir.patch |
22 | Patch1: %{name}-desktop.patch | |
290001d9 | 23 | # copy gcstar perl-libs to /usr/share instead of /usr/lib |
5f263671 | 24 | Patch2: %{name}-perlmoddir.patch |
a399d7d3 | 25 | URL: http://www.gcstar.org/ |
8eff6485 | 26 | BuildRequires: perl-Archive-Zip |
c448fb71 | 27 | BuildRequires: perl-Gtk2 |
2d948bf5 | 28 | BuildRequires: perl-XML-LibXML |
aca574c6 | 29 | BuildRequires: perl-XML-Simple |
64f1bcda | 30 | BuildRequires: perl-libwww |
2d948bf5 | 31 | BuildRequires: rpm-perlprov |
64f1bcda | 32 | Requires(post,postun): desktop-file-utils |
d58332be | 33 | # I don't know why, but builder says the following: |
d58332be ZU |
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) | |
4a7c6738 ZU |
56 | Provides: perl(GCItemsLists::GCImageLists) |
57 | Provides: perl(GCItemsLists::GCTextLists) | |
d58332be ZU |
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) | |
5f263671 | 66 | BuildArch: noarch |
00b89f0a | 67 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
68 | ||
69 | %description | |
9901e863 | 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: | |
73 | - Movies | |
74 | - Video games | |
75 | - Books | |
76 | - User defined collections | |
77 | ||
d58332be ZU |
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: | |
82 | - filmek | |
83 | - videójátékok | |
84 | - könyvek | |
85 | - felhasználó által definiált gyűjtemények | |
86 | ||
d8f50ea5 JR |
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. | |
149bd910 | 90 | Aktualnie wspiera kolekcje: |
d8f50ea5 | 91 | - filmów |
9901e863 | 92 | - gier wideo |
d8f50ea5 JR |
93 | - książek |
94 | - kolekcje zdefiniowane przez użytkownika | |
00b89f0a | 95 | |
96 | %prep | |
97 | %setup -q -n %{name} | |
98 | %patch0 -p1 | |
99 | %patch1 -p1 | |
290001d9 | 100 | %patch2 -p1 |
00b89f0a | 101 | |
00b89f0a | 102 | %install |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
c448fb71 | 105 | ./install --text \ |
106 | --prefix=$RPM_BUILD_ROOT%{_prefix} | |
00b89f0a | 107 | |
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 | |
112 | ||
113 | %clean | |
114 | rm -rf $RPM_BUILD_ROOT | |
115 | ||
116 | %post | |
117 | %update_desktop_database_post | |
118 | ||
119 | %postun | |
120 | %update_desktop_database_postun | |
121 | ||
122 | %files | |
123 | %defattr(644,root,root,755) | |
124 | %doc README | |
125 | %attr(755,root,root) %{_bindir}/* | |
126 | %dir %{_datadir}/%{name} | |
127 | %{_datadir}/%{name}/* | |
00b89f0a | 128 | %{_mandir}/man1/* |
129 | %{_desktopdir}/*.desktop | |
130 | %{_pixmapsdir}/*.png |