View | Details | Raw Unified | Return to bug 8709
Collapse All | Expand All

(-)xpenguins.spec.orig (-39 / +34 lines)
Lines 1-64 Link Here
1
Summary: XPenguins -- little penguins on your desktop
2
Summary(ru_RU.KOI8-R): XPenguins -- ÍÁÌÅÎØËÉÅ ÐÉÎÇ×ÉÎÙ ÎÁ ×ÁÛÅÍ ÒÁÂÏÞÅÍ ÓÔÏÌÅ
3
Name: xpenguins
1
Name: xpenguins
4
Version: 2.2
2
Version: 2.2
5
Release: alt3
3
Release: alt4
4
5
Summary: XPenguins -- little penguins on your desktop
6
Summary(ru_RU.KOI8-R): XPenguins -- ÍÁÌÅÎØËÉÅ ÐÉÎÇ×ÉÎÙ ÎÁ ×ÁÛÅÍ ÒÁÂÏÞÅÍ ÓÔÏÌÅ
7
6
License: GPL
8
License: GPL
7
Group: Toys
9
Group: Toys
8
Url: http://xpenguins.seul.org/
10
Url: http://xpenguins.seul.org/
11
9
Source0: %name-%version.tar.bz2
12
Source0: %name-%version.tar.bz2
10
Source1: %name-32x32.xpm.bz2
13
Source1: %name.menu
11
Source2: %name-16x16.xpm.bz2
14
Source2: %name-icons.tar.bz2
12
Source3: %name-48x48.xpm.bz2
13
15
14
# Automatically added by buildreq on Tue Sep 30 2003
16
# Automatically added by buildreq on Wed Dec 28 2005
15
BuildRequires: XFree86-devel XFree86-libs xpm-devel
17
BuildRequires: xorg-x11-devel
16
18
17
%description
19
%description
18
XPenguins is an desktop amusement. It creates little penguins that
20
XPenguins is an desktop amusement. It creates little penguins that walk across your screen, fly like helicopters, by explode. It's great fun. (WARNING: It cannot be used during you're working, use it while IRC'ing).
19
walk across your screen, fly like helicopters, by explode. It's great
20
fun. (WARNING: It cannot be used during you're working, use it while
21
IRC'ing).
22
21
23
%description -l ru_RU.KOI8-R
22
%description -l ru_RU.KOI8-R
24
XPenguins ÜÔÏ ÐÒÅÄÓÔÁ×ÌÅÎÉÅ ÎÁ ÒÁÂÏÞÅÍ ÓÔÏÌÅ. üÔÁ ÐÒÏÇÒÁÍÍÁ ÓÏÚÄÁÅÔ
23
XPenguins ÜÔÏ ÐÒÅÄÓÔÁ×ÌÅÎÉÅ ÎÁ ÒÁÂÏÞÅÍ ÓÔÏÌÅ. üÔÁ ÐÒÏÇÒÁÍÍÁ ÓÏÚÄÁÅÔ ÎÁ ÜËÒÁÎÅ ÍÁÌÅÎØËÉÈ ÐÉÎÇ×ÉÎÏ×, ÕÓÔÒÁÉ×ÁÀÝÉÈ ÎÁÓÔÏÑÝÅÅ ÃÉÒËÏ×ÏÅ ÐÒÅÄÓÔÁ×ÌÅÎÉÅ. (÷ÎÉÍÁÎÉÅ: ÎÅ ÚÁÐÕÓËÁÊÔÅ ÜÔÕ ÐÒÏÇÒÁÍÍÕ ×Ï ×ÒÅÍÑ ÒÁÂÏÔÙ - ÏÎÁ ÂÕÄÅÔ ×ÁÓ ÏÔ×ÌÅËÁÔØ. éÓÐÏÌØÚÕÊÔÅ ÅÅ ×Ï ×ÒÅÍÑ ÏÔÄÙÈÁ ÉÌÉ ÏÂÝÅÎÉÑ)
25
ÎÁ ÜËÒÁÎÅ ÍÁÌÅÎØËÉÈ ÐÉÎÇ×ÉÎÏ×, ÕÓÔÒÁÉ×ÁÀÝÉÈ ÎÁÓÔÏÑÝÅÅ ÃÉÒËÏ×ÏÅ ÐÒÅÄÓÔÁ×ÌÅÎÉÅ.
26
(÷ÎÉÍÁÎÉÅ: ÎÅ ÚÁÐÕÓËÁÊÔÅ ÜÔÕ ÐÒÏÇÒÁÍÍÕ ×Ï ×ÒÅÍÑ ÒÁÂÏÔÙ - ÏÎÁ ÂÕÄÅÔ ×ÁÓ ÏÔ×ÌÅËÁÔØ.
27
éÓÐÏÌØÚÕÊÔÅ ÅÅ ×Ï ×ÒÅÍÑ ÏÔÄÙÈÁ ÉÌÉ ÏÂÝÅÎÉÑ)
28
24
29
%prep
25
%prep
30
%setup -q
26
%setup -q -a2
31
27
32
%build
28
%build
33
%configure
29
%configure
34
%make_build
30
%make_build --silent --no-print-directory
35
31
36
%install
32
%install
37
%makeinstall
33
%make_install --silent --no-print-directory DESTDIR=%buildroot install
38
34
39
# Menu support
35
install -pD -m 644 %SOURCE1 %buildroot%_menudir/%name
40
mkdir -p  %buildroot{%_menudir,%_iconsdir,%_miconsdir,%_liconsdir}
36
install -pD -m 644 %name-48x48.xpm %buildroot%_liconsdir/%name.xpm
41
cat << EOF > %buildroot%_menudir/%name
37
install -pD -m 644 %name-32x32.xpm %buildroot%_iconsdir/%name.xpm
42
?package(%name): \
38
install -pD -m 644 %name-16x16.xpm %buildroot%_miconsdir/%name.xpm
43
	command="%_bindir/%name" \
44
	icon="%name.xpm" \
45
	needs="x11" \
46
	section="Amusement/Toys" \
47
	title="Xpenguins" \
48
	longtitle="Display penguins running on your desktop."
49
EOF
50
51
bzip2 -dc %SOURCE1 > %buildroot%_iconsdir/%name.xpm
52
bzip2 -dc %SOURCE2 > %buildroot%_miconsdir/%name.xpm
53
bzip2 -dc %SOURCE3 > %buildroot%_liconsdir/%name.xpm
54
39
55
%files
40
%files
56
%doc README AUTHORS COPYING ChangeLog lay-out-frames.scm
41
%doc README AUTHORS ChangeLog
57
42
58
%prefix/bin/*
43
%_bindir/%name
59
%_datadir/man/man1/*
44
%_man1dir/*
60
%_datadir/xpenguins/*
45
%_datadir/%name
61
%_menudir/*
46
%_menudir/%name
62
%_iconsdir/%name.xpm
47
%_iconsdir/%name.xpm
63
%_miconsdir/%name.xpm
48
%_miconsdir/%name.xpm
64
%_liconsdir/%name.xpm
49
%_liconsdir/%name.xpm
Lines 70-75 Link Here
70
%clean_menus
55
%clean_menus
71
56
72
%changelog
57
%changelog
58
* Wed Dec 28 2005 php-coder <php-coder@altlinux.ru> 2.2-alt4
59
- Now /usr/share/xpenguins belongs to package (#8709)
60
- Updated BuildRequires
61
- Removed COPYING and lay-out-frames.scm files from package
62
- Runing make with --no-print-directory and --silent options to make
63
  terminal output cleanly
64
- Cleanup spec
65
- Separate menu to file, not generate from spec
66
- Combain icons to one tarball
67
73
* Tue Sep 30 2003 Rider <rider@altlinux.ru> 2.2-alt3
68
* Tue Sep 30 2003 Rider <rider@altlinux.ru> 2.2-alt3
74
- buildrequires fix
69
- buildrequires fix
75
70

Return to bug 8709