[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

dia-0.93-pre1: dia.spec



I tried to build dia-0.93-pre1 under Fedora Core 1 and I encountered
some problems. Attached are the changes I made to dia.spec to get the
building process to complete successfully (note: the directory /usr/var
is missing in the %files section, I don't know the purpose of files in
it so I simply removed the directory after 'make install')

Another problem I noticed, after installing the binary package,
is that the help files can be found through the Help->Manual
menu entry.

Best regards,
LB

--



--- dia.spec.orig	2004-03-13 05:22:50.000000000 +0800
+++ dia.spec	2004-03-22 11:07:39.000000000 +0800
@@ -9,7 +9,7 @@
 Release: pre1
 Copyright: GPL
 Group: Applications/
-Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{ver}.tar.gz
+Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{ver}-%release.tar.bz2
 URL: http://www.lysator.liu.se/~alla/dia/dia.html
 BuildRoot: /var/tmp/%{name}-%{ver}-root
 
@@ -49,7 +49,7 @@
 - First RPM release.
 
 %prep
-%setup -q
+%setup -q -n %name-%ver-%release
 
 %build
 
@@ -67,6 +67,8 @@
 rm -fr $RPM_BUILD_ROOT
 make prefix=$RPM_BUILD_ROOT%{_prefix} install
 
+rm -rf $RPM_BUILD_ROOT/%{_prefix}/var
+
 gzip --best $RPM_BUILD_ROOT%{_prefix}/man/man1/dia.1
 
 %clean
@@ -83,5 +85,5 @@
 %{_prefix}/share/locale/*/*/*
 %{_prefix}/share/mime-info/*
 %{_prefix}/share/pixmaps/*
-%doc %{_prefix}/share/gnome/help/dia
+%doc %{_prefix}/share/gnome/help/dia-manual
 # if you are building without gnome support, use /usr/share/dia/help instead


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK