]> git.pld-linux.org Git - packages/gcstar.git/blob - gcstar.spec
- up to 1.4.2
[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 %include        /usr/lib/rpm/macros.perl
6 Summary:        GCstar: collection manager
7 Summary(hu.UTF-8):      GCstar: gyűjtemény kezelő
8 Summary(pl.UTF-8):      GCstar: zarządca kolekcji
9 Name:           gcstar
10 Version:        1.4.2
11 Release:        1
12 License:        GPL
13 Group:          Applications
14 Source0:        http://download.gna.org/gcstar/%{name}-%{version}.tar.gz
15 # Source0-md5:  6c4b8d94b9577e6aa45bdec2a8d55625
16 Patch0:         %{name}-mandir.patch
17 Patch1:         %{name}-desktop.patch
18 Patch2:         %{name}-perlmoddir.patch
19 URL:            http://www.gcstar.org/
20 BuildRequires:  perl-Archive-Zip
21 BuildRequires:  perl-Gtk2
22 BuildRequires:  perl-XML-LibXML
23 BuildRequires:  perl-XML-Simple
24 BuildRequires:  perl-libwww
25 BuildRequires:  rpm-perlprov
26 Requires(post,postun):  desktop-file-utils
27 # I don't know why, but builder says the following:
28 # /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'
29 # and similar
30 # By install missed the following packages. /uzsolt/
31 Provides:       perl(GCBackend::GCBeXmlBase)
32 Provides:       perl(GCDoubleListDialog)
33 Provides:       perl(GCExport::GCExportBaseClass)
34 Provides:       perl(GCExportImportBase)
35 Provides:       perl(GCFieldsSelectionDialog)
36 Provides:       perl(GCImport::GCImportBaseClass)
37 Provides:       perl(GCItemExtracter)
38 Provides:       perl(GCModalDialog)
39 Provides:       perl(GCPluginParser)
40 Provides:       perl(GCPlugins::GCTVepisodes::GCPluginTvdb)
41 Provides:       perl(GCPlugins::GCTVepisodes::GCTVepisodesPluginsBase)
42 Provides:       perl(GCPlugins::GCboardgames::GCboardgamesPluginsBase)
43 Provides:       perl(GCPlugins::GCbooks::GCbooksAdlibrisPluginsBase)
44 Provides:       perl(GCPlugins::GCbooks::GCbooksAmazonPluginsBase)
45 Provides:       perl(GCPlugins::GCbooks::GCbooksPluginsBase)
46 Provides:       perl(GCPlugins::GCcomics::GCcomicsPluginsBase)
47 Provides:       perl(GCPlugins::GCfilms::GCfilmsAmazonPluginsBase)
48 Provides:       perl(GCPlugins::GCfilms::GCfilmsPluginsBase)
49 Provides:       perl(GCPlugins::GCgames::GCgamesAmazonPluginsBase)
50 Provides:       perl(GCPlugins::GCgames::GCgamesPluginsBase)
51 Provides:       perl(GCPlugins::GCmusics::GCmusicsPluginsBase)
52 Provides:       perl(Gtk2::Dialog)
53 Provides:       perl(Gtk2::MenuBar)
54 Provides:       perl(Gtk2::MessageDialog)
55 Provides:       perl(Gtk2::ScrolledWindow)
56 Provides:       perl(Gtk2::Toolbar)
57 Provides:       perl(Gtk2::TreeView)
58 Provides:       perl(Gtk2::VBox)
59 Provides:       perl(Gtk2::Window)
60 BuildArch:      noarch
61 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63 %description
64 GCstar is an application to manage different kind of collections. It
65 is designed to be able to support as many type of collections as
66 needed. For the moment it supports these ones:
67  - Movies
68  - Video games
69  - Books
70  - User defined collections
71
72 %description -l hu.UTF-8
73 GCstar egy alkalmazás, amellyel gyűjtemények különféle fajtáit
74 tarthatjuk nyilván. Annyi típusú gyűjteményt tud kezelni, amennyire
75 csak szükségünk lehet. Jelenleg a következőket:
76  - filmek
77  - videójátékok
78  - könyvek
79  - felhasználó által definiált gyűjtemények
80
81 %description -l pl.UTF-8
82 GCstar jest aplikacją do zarządzania różnymi rodzajami kolekcji. Jest
83 zaprojektowana by móc wspierać wszystkie potrzebne typy kolekcji.
84 Aktualnie wspiera kolekcje:
85  - filmów
86  - gier wideo
87  - książek
88  - kolekcje zdefiniowane przez użytkownika
89
90 %prep
91 %setup -q -n %{name}
92 %patch0 -p1
93 %patch1 -p1
94 %patch2 -p1
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 ./install --text \
100         --prefix=$RPM_BUILD_ROOT%{_prefix}
101
102 install -d $RPM_BUILD_ROOT%{_desktopdir}
103 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
104 install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
105 install share/gcstar/icons/gcstar_64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post
111 %update_desktop_database_post
112
113 %postun
114 %update_desktop_database_postun
115
116 %files
117 %defattr(644,root,root,755)
118 %doc README
119 %attr(755,root,root) %{_bindir}/*
120 %dir %{_datadir}/%{name}
121 %{_datadir}/%{name}/*
122 %{_mandir}/man1/*
123 %{_desktopdir}/*.desktop
124 %{_pixmapsdir}/*.png
This page took 0.034894 seconds and 4 git commands to generate.