]> git.pld-linux.org Git - packages/gcstar.git/blame - gcstar.spec
- sorted
[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#
2d948bf5 5%include /usr/lib/rpm/macros.perl
c448fb71 6Summary: GCstar: collection manager
4e3f85ee 7Summary(pl.UTF-8): GCstar: zarządca kolekcji
00b89f0a 8Name: gcstar
cc786e1a 9Version: 1.4.0
3f96cce4 10Release: 1
00b89f0a 11License: GPL
12Group: Applications
13Source0: http://download.gna.org/gcstar/%{name}-%{version}.tar.gz
cc786e1a 14# Source0-md5: 70bebd9e52e2f9d1532e91080604b26f
00b89f0a 15Patch0: %{name}-mandir.patch
16Patch1: %{name}-desktop.patch
5f263671 17Patch2: %{name}-perlmoddir.patch
a399d7d3 18URL: http://www.gcstar.org/
8eff6485 19BuildRequires: perl-Archive-Zip
c448fb71 20BuildRequires: perl-Gtk2
2d948bf5 21BuildRequires: perl-XML-LibXML
aca574c6 22BuildRequires: perl-XML-Simple
64f1bcda 23BuildRequires: perl-libwww
2d948bf5 24BuildRequires: rpm-perlprov
64f1bcda 25Requires(post,postun): desktop-file-utils
5f263671 26BuildArch: noarch
00b89f0a 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
9901e863 30GCstar is an application to manage different kind of collections. It
31is designed to be able to support as many type of collections as
32needed. For the moment it supports these ones:
33 - Movies
34 - Video games
35 - Books
36 - User defined collections
37
d8f50ea5
JR
38%description -l pl.UTF-8
39GCstar jest aplikacją do zarządzania różnymi rodzajami kolekcji. Jest
40zaprojektowana by móc wspierać wszystkie potrzebne typy kolekcji.
149bd910 41Aktualnie wspiera kolekcje:
d8f50ea5 42 - filmów
9901e863 43 - gier wideo
d8f50ea5
JR
44 - książek
45 - kolekcje zdefiniowane przez użytkownika
00b89f0a 46
47%prep
48%setup -q -n %{name}
49%patch0 -p1
50%patch1 -p1
5f263671 51%patch2 -p1
00b89f0a 52
00b89f0a 53%install
54rm -rf $RPM_BUILD_ROOT
55
c448fb71 56./install --text \
57 --prefix=$RPM_BUILD_ROOT%{_prefix}
00b89f0a 58
59install -d $RPM_BUILD_ROOT%{_desktopdir}
60install -d $RPM_BUILD_ROOT%{_pixmapsdir}
61install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
62install share/gcstar/icons/gcstar_64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%post
68%update_desktop_database_post
69
70%postun
71%update_desktop_database_postun
72
73%files
74%defattr(644,root,root,755)
75%doc README
76%attr(755,root,root) %{_bindir}/*
77%dir %{_datadir}/%{name}
78%{_datadir}/%{name}/*
00b89f0a 79%{_mandir}/man1/*
80%{_desktopdir}/*.desktop
81%{_pixmapsdir}/*.png
This page took 0.039647 seconds and 4 git commands to generate.