packages: kicad/kicad.spec - packaging tar as .desktop file is pure evil; r...
glen
glen at pld-linux.org
Wed Feb 9 10:39:57 CET 2011
Author: glen Date: Wed Feb 9 09:39:57 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- packaging tar as .desktop file is pure evil; rel 2
---- Files affected:
packages/kicad:
kicad.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: packages/kicad/kicad.spec
diff -u packages/kicad/kicad.spec:1.11 packages/kicad/kicad.spec:1.12
--- packages/kicad/kicad.spec:1.11 Mon Nov 30 02:30:33 2009
+++ packages/kicad/kicad.spec Wed Feb 9 10:39:52 2011
@@ -5,7 +5,7 @@
Summary(pl.UTF-8): KiCad - zestaw programów na licencji GPL zaliczany do kategorii EDA
Name: kicad
Version: 20080825
-Release: 1
+Release: 2
License: GPL
Group: X11/Applications
Source0: http://dl.sourceforge.net/kicad/%{name}-%{version}.tar.bz2
@@ -84,7 +84,7 @@
DESTDIR=$RPM_BUILD_ROOT \
PREFIX=$RPM_BUILD_ROOT%{_prefix}
install -d $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
for loc in $RPM_BUILD_ROOT%{_localedir}/*; do
install -d $loc/LC_MESSAGES
@@ -92,9 +92,7 @@
done
for loc in $RPM_BUILD_ROOT%{_datadir}/%{name}/help/*; do
- if [ -d $loc/docs_src ]; then
- rm -rf $loc/docs_src;
- fi
+ rm -rf $loc/docs_src
done
%find_lang %{name}
@@ -105,10 +103,12 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc change_log.txt regex_doc.txt todo.txt version.txt
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/cvpcb
+%attr(755,root,root) %{_bindir}/eeschema
+%attr(755,root,root) %{_bindir}/gerbview
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/plugins
-%attr(755,root,root) %{_libdir}/%{name}/plugins/*
+%attr(755,root,root) %{_libdir}/%{name}/plugins/netlist_form_pads-pcb
%{_datadir}/%{name}
%{_desktopdir}/%{name}.desktop
@@ -118,6 +118,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2011/02/09 09:39:52 glen
+- packaging tar as .desktop file is pure evil; rel 2
+
Revision 1.11 2009/11/30 01:30:33 sparky
- BR: boost-devel, which, wxWidgets-devel
- use %{rpm*flags} and %{__cxx} macros
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kicad/kicad.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list