]> git.pld-linux.org Git - packages/dc-qt.git/blame - dc-qt.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/dc-qt.git] / dc-qt.spec
CommitLineData
b7ee0e77
PS
1#
2# Conditional build:
3%bcond_without xine # disable media file preview (uses xine)
4#
8241b14d 5Summary: Qt GUI for dctc (Direct Connect)
3c2e284a 6Summary(pl.UTF-8): Oparte o Qt GUI do dctc (Direct Connect)
6d7a0eb6 7Name: dc-qt
e31dc71d 8Version: 0.1.2
9Release: 1
6d7a0eb6
PG
10License: GPL v2
11Group: X11/Applications/Networking
3d280dcd 12Source0: http://dl.sourceforge.net/dc-qt/%{name}-%{version}.tar.gz
e31dc71d 13# Source0-md5: 2653c020cd2cc3957d35f2c1e77b4d46
cc95cc90 14Source1: %{name}.desktop
5be05ce1
KK
15Source2: %{name}.png
16URL: http://dc-qt.sourceforge.net/
6d7a0eb6
PG
17BuildRequires: autoconf
18BuildRequires: automake
5e27a290 19BuildRequires: qt-devel >= 6:3.2
d6e21f3f 20BuildRequires: rpmbuild(macros) >= 1.129
b7ee0e77 21%{?with_xine:BuildRequires: xine-lib-devel}
6d7a0eb6
PG
22Requires: dctc
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
6d7a0eb6 25%description
8241b14d 26Direct Connect client (dctc) Qt GUI.
6d7a0eb6 27
54dd454f
JR
28%description -l pl.UTF-8
29Graficzny interfejs użytkownika używający Qt do dctc (Direct Connect).
6d7a0eb6
PG
30
31%prep
32%setup -q
6d7a0eb6
PG
33
34%build
b331ef42 35%{__aclocal}
36%{__autoconf}
37%{__automake}
0232ca86 38%configure \
b7ee0e77 39 --%{?with_xine:en}%{!?with_xine:dis}able-preview \
0232ca86 40 --with-qt-libs=%{_libdir} \
b7ee0e77 41 --with-qt-includes=%{_includedir}/qt
3b00db64 42
b7ee0e77
PS
43%{__make} \
44 LDFLAGS="%{rpmldflags}"
6d7a0eb6
PG
45
46%install
47rm -rf $RPM_BUILD_ROOT
0522e835 48install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
76a4ec3a 49
50%{__make} install \
5be05ce1
KK
51 DESTDIR=$RPM_BUILD_ROOT \
52 kde_htmldir=%{_kdedocdir}
6d7a0eb6 53
3d280dcd 54install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
5be05ce1 55install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
6d7a0eb6 56
6d7a0eb6
PG
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
641c0483 62%doc AUTHORS README TODO
76a4ec3a 63%attr(755,root,root) %{_bindir}/dc_qt
90e92c73 64%{_desktopdir}/*.desktop
5be05ce1
KK
65%{_docdir}/%{name}
66%{_pixmapsdir}/%{name}.png
This page took 0.084611 seconds and 4 git commands to generate.