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

(-)dvd+rw-tools.spec~ (-9 / +27 lines)
Lines 1-33 Link Here
1
Summary: Toolchain for mastering recordable DVD media
2
Name: dvd+rw-tools
1
Name: dvd+rw-tools
3
Version: 5.17.4.8.6
2
Version: 5.17.4.8.6
4
Release: alt3
3
Release: alt3
5
License: GPL
4
6
Group: Video
5
Group: Video
6
Summary: Toolchain for mastering recordable DVD media
7
Url: http://fy.chalmers.se/~appro/linux/DVD+RW/
8
License: GPL
9
10
Requires: mkisofs >= 1.10, control
11
12
# Automatically added by buildreq on Tue Aug 10 2004 (-bi)
13
BuildRequires: gcc-c++ libstdc++-devel
14
7
Source: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-%version.tar.gz
15
Source: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-%version.tar.gz
8
Source1: growisofs.control
16
Source1: growisofs.control
9
Source2: dvd+rw-format.control
17
Source2: dvd+rw-format.control
10
Source3: dvd+rw-booktype.control
18
Source3: dvd+rw-booktype.control
11
Url: http://fy.chalmers.se/~appro/linux/DVD+RW/
12
Requires: mkisofs >= 1.10
13
19
14
# Automatically added by buildreq on Mon Sep 08 2003
20
Patch1: dvd+rw-tools-5.17.4.8.6-proc-may-be-unreadable.patch
15
#BuildRequires: cpp2.95 gcc2.95-c++ libstdc++2.95-devel
21
Patch2: dvd+rw-tools-5.17.4.8.6-supermount.patch
16
22
17
%description
23
%description
18
Collection of tools to master DVD+RW/+R/-R/-RW media. For further
24
Collection of tools to master DVD+RW/+R/-R/-RW media. For further
19
information see http://fy.chalmers.se/~appro/linux/DVD+RW/.
25
information see http://fy.chalmers.se/~appro/linux/DVD+RW/.
20
26
21
%description -l ru_RU.KIO8-R
27
%description -l ru_RU.KOI8-R
22
îÁÂÏÒ ÕÔÉÌÉÔ ÄÌÑ ÐÏÄÇÏÔÏ×ËÉ É ÚÁÐÉÓÉ ÎÁ DVD+RW/+R/-R/-RW ÎÏÓÉÔÅÌÉ.
28
îÁÂÏÒ ÕÔÉÌÉÔ ÄÌÑ ÐÏÄÇÏÔÏ×ËÉ É ÚÁÐÉÓÉ ÎÁ DVD+RW/+R/-R/-RW ÎÏÓÉÔÅÌÉ.
23
29
30
24
%prep
31
%prep
25
%setup -q
32
%setup -q
33
%patch1 -p0
34
%patch2 -p0
35
26
36
27
%build
37
%build
28
%define _optlevel 9
29
%add_optflags %optflags_notraceback %optflags_fastmath -fsigned-char -finline-functions -Dsize16='short' -Dsize32='int'
38
%add_optflags %optflags_notraceback %optflags_fastmath -fsigned-char -finline-functions -Dsize16='short' -Dsize32='int'
30
%make_build OPT="$RPM_OPT_FLAGS"
39
%make_build CFLAGS="%optflags" CXXFLAGS="%optflags"
40
31
41
32
%install
42
%install
33
%__mkdir_p %buildroot%_bindir
43
%__mkdir_p %buildroot%_bindir
Lines 38-49 Link Here
38
%__install -pD -m755 $RPM_SOURCE_DIR/dvd+rw-format.control $RPM_BUILD_ROOT/etc/control.d/facilities/dvd+rw-format
48
%__install -pD -m755 $RPM_SOURCE_DIR/dvd+rw-format.control $RPM_BUILD_ROOT/etc/control.d/facilities/dvd+rw-format
39
%__install -pD -m755 $RPM_SOURCE_DIR/dvd+rw-booktype.control $RPM_BUILD_ROOT/etc/control.d/facilities/dvd+rw-booktype
49
%__install -pD -m755 $RPM_SOURCE_DIR/dvd+rw-booktype.control $RPM_BUILD_ROOT/etc/control.d/facilities/dvd+rw-booktype
40
50
51
41
%pre -n dvd+rw-tools
52
%pre -n dvd+rw-tools
42
[ $1 -eq 1 ] || /usr/sbin/control-dump growisofs dvd+rw-format dvd+rw-booktype
53
[ $1 -eq 1 ] || /usr/sbin/control-dump growisofs dvd+rw-format dvd+rw-booktype
43
54
44
%post -n dvd+rw-tools
55
%post -n dvd+rw-tools
45
[ $1 -eq 1 ] || /usr/sbin/control-restore growisofs dvd+rw-format dvd+rw-booktype
56
[ $1 -eq 1 ] || /usr/sbin/control-restore growisofs dvd+rw-format dvd+rw-booktype
46
57
58
47
%files
59
%files
48
%config /etc/control.d/facilities/growisofs
60
%config /etc/control.d/facilities/growisofs
49
%config /etc/control.d/facilities/dvd+rw-format
61
%config /etc/control.d/facilities/dvd+rw-format
Lines 55-60 Link Here
55
#%doc changelog
67
#%doc changelog
56
68
57
%changelog
69
%changelog
70
* Tue Aug 10 2004 Sergey V Turchin <zerg at altlinux dot org> 5.17.4.8.6-alt3.1
71
- add patch to read /etc/mtab instead /proc/mounts
72
- add patch to success umount when subfs or supermount
73
- remove requires to gcc-2.95
74
- cleanup spec
75
58
* Tue Jun 15 2004 Maxim Tyurin <mrkooll@altlinux.ru> 5.17.4.8.6-alt3
76
* Tue Jun 15 2004 Maxim Tyurin <mrkooll@altlinux.ru> 5.17.4.8.6-alt3
59
- rebuild with glibc 2.3.3
77
- rebuild with glibc 2.3.3
60
78

Return to bug 4943