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