]> git.pld-linux.org Git - SPECS.git/blob - vobcopy.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / vobcopy.spec
1 #
2 # Conditional build:
3 %bcond_without  lfs     # disable largefile support (for files larger than 2GB)
4 #
5 Summary:        Tool to copy selected titles from dvd to disk
6 Summary(pl.UTF-8):      Program do kopiowania wybranych tytułów z dvd na dysk
7 Name:           vobcopy
8 Version:        1.1.2
9 Release:        2
10 License:        GPL
11 Group:          Applications
12 Source0:        http://lpn.rnbhq.org/download/%{name}-%{version}.tar.bz2
13 # Source0-md5:  7f4bc2ba19d567339e4d854636aafa24
14 URL:            http://www.linux-programming-newbie.org/projects/c/c.html
15 BuildRequires:  libdvdread-devel
16 Requires:       libdvdcss
17 Requires:       libdvdread
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Vobcopy lets you copy video files from DVD to disk in such a way that
22 each logical video stream (e.g. episode of a series on disc where are
23 four of these) is copied to one file, ready to use by video editing
24 tools.
25
26 %description -l pl.UTF-8
27 Vobcopy pozwala na skopiowanie z DVD plików wideo przepakowanych
28 fizycznie na nowo, tak aby każdy logiczny ciąg wideo (np. jeden
29 odcinek serialu na płycie na której są cztery) był w jednym pliku (lub
30 ich ciągu), gotowy do użycia przez programy do obróbki wideo.
31
32 %prep
33 %setup -q
34
35 %build
36 sh configure.sh \
37         %{?with_lfs:--with-lfs}
38 %{__make} \
39         CC="%{__cc}" \
40         CFLAGS="%{rpmcflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{man1,de/man1}}
45
46 install vobcopy $RPM_BUILD_ROOT%{_bindir}
47 install vobcopy.1 $RPM_BUILD_ROOT%{_mandir}/man1
48 install vobcopy.1.de $RPM_BUILD_ROOT%{_mandir}/de/man1/vobcopy.1
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changelog README Release-Notes *.txt TODO
56 %attr(755,root,root) %{_bindir}/*
57 %{_mandir}/man1/*
58 %lang(de) %{_mandir}/de/man1/*
This page took 0.364941 seconds and 3 git commands to generate.