]> git.pld-linux.org Git - SPECS.git/blob - rox-Tail.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / rox-Tail.spec
1 %define _name Tail
2 %define _platform %(echo `uname -s`-`uname -m|sed 's/i.86/ix86/'`)
3 Summary:        Display the contents of file, updating as the file is updated
4 Summary(pl.UTF-8):      ROX-Tail wyświetla zawartość pliku, aktualizując ją gdy plik się zmieni
5 Name:           rox-%{_name}
6 Version:        2.1.2
7 Release:        1
8 License:        GPL v2
9 Group:          X11/Applications
10 Source0:        http://www.kerofin.demon.co.uk/rox/%{_name}-%{version}.tar.gz
11 # Source0-md5:  d5243ccebe206c4173efe6eff3e47d28
12 Source1:        %{name}.desktop
13 #Patch0:                %{name}-paths-fix.patch
14 Patch1:         %{name}-ROX-CLib2-include.patch
15 Patch2:         %{name}-ROX-apps-paths.patch
16 Patch3:         %{name}-aclocal.patch
17 URL:            http://www.kerofin.demon.co.uk/rox/tail.html
18 BuildRequires:  autoconf
19 BuildRequires:  gtk+2-devel
20 BuildRequires:  rox-CLib2-devel >= 2.1.4
21 Requires:       rox >= 2.2.0-2
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _appsdir        %{_libdir}/ROX-apps
25
26 %description
27 This program displays the contents of a file in a read-only text
28 window, updating as the file is updated. It is designed to do the same
29 function as the "tail -f" command.
30
31 %description -l pl.UTF-8
32 Ten program wyświetla zawartość pliku, w oknie "tylko-do-odczytu",
33 aktualizując ją gdy plik się zmieni. Program pełni tą samą funkcję co
34 komenda "tail -f".
35
36 %prep
37 %setup -q -n %{_name}
38 #%patch0 -p1
39 %patch1 -p1
40 %patch2 -p1
41 %patch3 -p1
42
43 %build
44 cd src
45 %{__autoconf}
46 cd ..
47 ./AppRun --compile
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_appsdir}/%{_name}/{Help,%{_platform}}
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53
54 install .DirIcon *.xml AppRun rox_run $RPM_BUILD_ROOT%{_appsdir}/%{_name}
55 install Help/README $RPM_BUILD_ROOT%{_appsdir}/%{_name}/Help
56 install %{_platform}/Tail $RPM_BUILD_ROOT%{_appsdir}/%{_name}/%{_platform}
57 install .DirIcon $RPM_BUILD_ROOT%{_pixmapsdir}/rox-Tail.png
58 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Help/{Changes,Versions}
66 %attr(755,root,root) %{_appsdir}/%{_name}/*[Rr]un
67 %attr(755,root,root) %{_appsdir}/%{_name}/%{_platform}
68 %{_appsdir}/%{_name}/.DirIcon
69 %{_appsdir}/%{_name}/*.xml
70 %{_appsdir}/%{_name}/Help
71 %dir %{_appsdir}/%{_name}
72 %{_desktopdir}/%{name}.desktop
73 %{_pixmapsdir}/%{name}.png
This page took 0.803694 seconds and 3 git commands to generate.