]> git.pld-linux.org Git - SPECS.git/blob - yasql.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / yasql.spec
1 Summary:        Yet Another SQL*Plus replacement
2 Summary(pl.UTF-8):      Yet Another SQL*Plus replacement - jeszcze jeden zamiennik SQL*Plus
3 Name:           yasql
4 Version:        1.83
5 Release:        2
6 Group:          Applications/Databases
7 License:        GPL v2
8 Source0:        http://dl.sourceforge.net/yasql/%{name}-%{version}.tar.gz
9 # Source0-md5:  c580402d20df6a1a0efe72d65a40ff0d
10 URL:            http://sourceforge.net/projects/yasql/
11 BuildRequires:  rpm-perlprov
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This is a much kinder alternative to SQL*Plus. This does not provide
17 every feature that SQL*Plus does, only the ones needed for general ad
18 hoc queries. The main intent of this program is for viewing data in
19 the database, or testing queries. It is not intended to create fancy
20 reports, such as those featured in SQL*Plus. It also does not have any
21 sort of scripting language such as PL/SQL. It has a few native
22 commands, such as describe, show, quit, and everything else is passed
23 through to the Oracle server.
24
25 %description -l pl.UTF-8
26 Coś w rodzaju SQL*Plusa. Nie zawiera wszystkich bajerów oryginału,
27 jedynie te niezbędne do zadawania szybkich zapytań. Główną intencją
28 powstania programu jest przeglądanie danych w bazie lub testowanie
29 pytań. Nie jest jednak intencją fantazyjnych takich, jakie są dostępne
30 w SQL*Plus. Nie ma tu również niczego co by przypominało język
31 skryptowy podobny do PL/SQL. Ma kilka własnych komend, takich jak
32 describe, show, quit; reszta jest przesyłana do serwera Oracle'a.
33
34 %prep
35 %setup -q
36
37 %build
38 ./configure \
39         --sysconfdir=%{_sysconfdir}
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
45
46 install yasql $RPM_BUILD_ROOT%{_bindir}
47 install yasql.1 $RPM_BUILD_ROOT%{_mandir}/man1
48 install yasql.conf $RPM_BUILD_ROOT%{_sysconfdir}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README yasql.html
56 %attr(755,root,root) %{_bindir}/yasql
57 %{_mandir}/man1/yasql.1*
58 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yasql.conf
This page took 0.174788 seconds and 3 git commands to generate.