]> git.pld-linux.org Git - packages/gcstar.git/blob - gcstar.spec
- up to 1.4.3
[packages/gcstar.git] / gcstar.spec
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/*
4 #
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
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
13 Name:           gcstar
14 Version:        1.4.3
15 Release:        1
16 License:        GPL
17 Group:          Applications
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)
62 BuildArch:      noarch
63 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64
65 %description
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:
69  - Movies
70  - Video games
71  - Books
72  - User defined collections
73
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:
78  - filmek
79  - videójátékok
80  - könyvek
81  - felhasználó által definiált gyűjtemények
82
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:
87  - filmów
88  - gier wideo
89  - książek
90  - kolekcje zdefiniowane przez użytkownika
91
92 %prep
93 %setup -q -n %{name}
94 %patch0 -p1
95 %patch1 -p1
96 %patch2 -p1
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 ./install --text \
102         --prefix=$RPM_BUILD_ROOT%{_prefix}
103
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
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post
113 %update_desktop_database_post
114
115 %postun
116 %update_desktop_database_postun
117
118 %files
119 %defattr(644,root,root,755)
120 %doc README
121 %attr(755,root,root) %{_bindir}/*
122 %dir %{_datadir}/%{name}
123 %{_datadir}/%{name}/*
124 %{_mandir}/man1/*
125 %{_desktopdir}/*.desktop
126 %{_pixmapsdir}/*.png
This page took 0.046058 seconds and 4 git commands to generate.