]> git.pld-linux.org Git - packages/dc-qt.git/commitdiff
- makefile patch - allow to compile with qt2
authorPaweł Gołaszewski <blues@pld-linux.org>
Sun, 12 May 2002 03:42:30 +0000 (03:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixes in files and desktop added
NOTE:makefile patch is mostly for qt2 only...
STBR

Changed files:
    dc-qt.spec -> 1.2

dc-qt.spec

index e55e524fa008681ee4dffd6bcb47f1a652093a29..2c2ca2a975d77c19ee29b78b8c7709c10a4bf025 100644 (file)
@@ -7,11 +7,12 @@ License:      GPL v2
 Group:         X11/Applications/Networking
 # Sourceforge is crazy with this mirrors... telia is fast...
 Source0:       http://telia.dl.sourceforge.net/sourceforge/dc-qt/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
 Patch0:                %{name}-makefile.patch
 URL:           http://sourceforge.net/projects/dc-qt/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: qt-devel
+BuildRequires: qt-devel >= 2.3
 Requires:      dctc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,10 +35,13 @@ export QTDIR=%{_includedir}/qt
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Communications,%{_datadir}/pixmaps,%{_bindir}}
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install dc_qt          $RPM_BUILD_ROOT%{_bindir}
+install icon.xpm       $RPM_BUILD_ROOT%{_datadir}/pixmaps/dc_qt.xpm
+install %{SOURCE1}     $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
 
 gzip -9nf README DESIGN
 
@@ -48,4 +52,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc *.gz
 %attr(755,root,root) %{_bindir}/dc_qt
+%attr(644,root,root) %{_datadir}/pixmaps/*.xpm
 %attr(644,root,root) %{_applnkdir}/Network/Communications/*
This page took 0.076719 seconds and 4 git commands to generate.