]> git.pld-linux.org Git - packages/dc-qt.git/blob - dc-qt.spec
- QT->Qt
[packages/dc-qt.git] / dc-qt.spec
1 #
2 # Conditional build:
3 %bcond_without  xine    # disable media file preview (uses xine)
4 #
5 Summary:        Qt GUI for dctc (Direct Connect)
6 Summary(pl):    Oparte o Qt GUI do dctc (Direct Connect)
7 Name:           dc-qt
8 Version:        0.1.2
9 Release:        1
10 License:        GPL v2
11 Group:          X11/Applications/Networking
12 Source0:        http://dl.sourceforge.net/dc-qt/%{name}-%{version}.tar.gz
13 # Source0-md5:  2653c020cd2cc3957d35f2c1e77b4d46
14 Source1:        %{name}.desktop
15 URL:            http://sourceforge.net/projects/dc-qt/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  qt-devel >= 2.3
19 %{?with_xine:BuildRequires:     xine-lib-devel}
20 Requires:       dctc
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Direct Connect client (dctc) Qt GUI.
25
26 %description -l pl
27 Graficzny interfejs u¿ytkownika u¿ywaj±cy Qt do dctc (Direct Connect).
28
29 %prep
30 %setup -q
31
32 %build
33 %{__aclocal}
34 %{__autoconf}
35 %{__automake}
36 %configure \
37         --%{?with_xine:en}%{!?with_xine:dis}able-preview \
38         --with-qt-libs=%{_libdir} \
39         --with-qt-includes=%{_includedir}/qt
40
41 %{__make} \
42         LDFLAGS="%{rpmldflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_desktopdir}
47
48 %{__make} install \
49          DESTDIR=$RPM_BUILD_ROOT
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README 
59 %attr(755,root,root) %{_bindir}/dc_qt
60 #%attr(644,root,root) %{_pixmapsdir}/*.xpm
61 %attr(644,root,root) %{_desktopdir}/*
This page took 0.142301 seconds and 4 git commands to generate.