]> git.pld-linux.org Git - packages/gcstar.git/blame - gcstar.spec
- fixed Provides fsckage - use _noautoreq/prov
[packages/gcstar.git] / gcstar.spec
CommitLineData
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 11Summary: GCstar: collection manager
d58332be 12Summary(hu.UTF-8): GCstar: gyűjtemény kezelő
4e3f85ee 13Summary(pl.UTF-8): GCstar: zarządca kolekcji
00b89f0a 14Name: gcstar
4a7c6738 15Version: 1.5.0
3f96cce4 16Release: 1
00b89f0a 17License: GPL
4a7c6738 18Group: X11/Applications
00b89f0a 19Source0: http://download.gna.org/gcstar/%{name}-%{version}.tar.gz
4a7c6738 20# Source0-md5: 966652b3f331d72c76509e13fc4dfba5
00b89f0a 21Patch0: %{name}-mandir.patch
22Patch1: %{name}-desktop.patch
290001d9 23# copy gcstar perl-libs to /usr/share instead of /usr/lib
5f263671 24Patch2: %{name}-perlmoddir.patch
a399d7d3 25URL: http://www.gcstar.org/
8eff6485 26BuildRequires: perl-Archive-Zip
c448fb71 27BuildRequires: perl-Gtk2
2d948bf5 28BuildRequires: perl-XML-LibXML
aca574c6 29BuildRequires: perl-XML-Simple
64f1bcda 30BuildRequires: perl-libwww
2d948bf5 31BuildRequires: rpm-perlprov
64f1bcda 32Requires(post,postun): desktop-file-utils
5f263671 33BuildArch: noarch
00b89f0a 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
74573e9b 36# parts of Gtk2.pm package
37%define gtk2_subpkgs Dialog\\\\|MenuBar\\\\|MessageDialog\\\\|ScrolledWindow\\\\|Toolbar\\\\|TreeView\\\\|VBox\\\\|Window
38
39# don't require/provide itself, it isn't in standard search path
40%define _noautoprov ^perl(GC.*)$
41%define _noautoreq ^perl(GC.*)$ ^perl(Gtk2::\\\\(%{gtk2_subpkgs}\\\\))$
42
00b89f0a 43%description
9901e863 44GCstar is an application to manage different kind of collections. It
45is designed to be able to support as many type of collections as
46needed. For the moment it supports these ones:
47 - Movies
48 - Video games
49 - Books
50 - User defined collections
51
d58332be
ZU
52%description -l hu.UTF-8
53GCstar egy alkalmazás, amellyel gyűjtemények különféle fajtáit
54tarthatjuk nyilván. Annyi típusú gyűjteményt tud kezelni, amennyire
55csak szükségünk lehet. Jelenleg a következőket:
56 - filmek
57 - videójátékok
58 - könyvek
59 - felhasználó által definiált gyűjtemények
60
d8f50ea5
JR
61%description -l pl.UTF-8
62GCstar jest aplikacją do zarządzania różnymi rodzajami kolekcji. Jest
63zaprojektowana by móc wspierać wszystkie potrzebne typy kolekcji.
149bd910 64Aktualnie wspiera kolekcje:
d8f50ea5 65 - filmów
9901e863 66 - gier wideo
d8f50ea5
JR
67 - książek
68 - kolekcje zdefiniowane przez użytkownika
00b89f0a 69
70%prep
71%setup -q -n %{name}
72%patch0 -p1
73%patch1 -p1
290001d9 74%patch2 -p1
00b89f0a 75
00b89f0a 76%install
77rm -rf $RPM_BUILD_ROOT
78
c448fb71 79./install --text \
80 --prefix=$RPM_BUILD_ROOT%{_prefix}
00b89f0a 81
82install -d $RPM_BUILD_ROOT%{_desktopdir}
83install -d $RPM_BUILD_ROOT%{_pixmapsdir}
84install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
85install share/gcstar/icons/gcstar_64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post
91%update_desktop_database_post
92
93%postun
94%update_desktop_database_postun
95
96%files
97%defattr(644,root,root,755)
98%doc README
99%attr(755,root,root) %{_bindir}/*
74573e9b 100%{_datadir}/%{name}
00b89f0a 101%{_mandir}/man1/*
102%{_desktopdir}/*.desktop
103%{_pixmapsdir}/*.png
This page took 0.073799 seconds and 4 git commands to generate.