rpms/xcircuit/devel xcircuit.spec,1.4,1.5

Chitlesh GOORAH (chitlesh) fedora-extras-commits at redhat.com
Mon Feb 26 18:32:52 UTC 2007


Author: chitlesh

Update of /cvs/extras/rpms/xcircuit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2762/devel

Modified Files:
	xcircuit.spec 
Log Message:
auto-import xcircuit-3.4.26-19 on branch devel from xcircuit-3.4.26-19.src.rpm


Index: xcircuit.spec
===================================================================
RCS file: /cvs/extras/rpms/xcircuit/devel/xcircuit.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xcircuit.spec	3 Feb 2007 13:22:31 -0000	1.4
+++ xcircuit.spec	26 Feb 2007 18:32:20 -0000	1.5
@@ -1,6 +1,6 @@
 Name:             xcircuit
 Version:          3.4.26
-Release:          18%{?dist}
+Release:          19%{?dist}
 Summary:          Electronic circuit schematic drawing program
 
 License:          GPL
@@ -23,9 +23,12 @@
 CAD program for circuit schematic drawing and schematic capture.
 
 %prep
-%setup -q
+# tarball includes unneeded symlink, so we firstly
+# create a directory and expand tarball there.
+%setup -q -T -c %{name}-%{version} -a 0
 
 %build
+cd %{name}-%{version}
 %{__libtoolize} --force --copy
 %{__aclocal}
 %{__automake} --add-missing
@@ -55,9 +58,8 @@
 
 %install
 %{__rm} -rf %{buildroot}
-%{__rm} %{_builddir}/%{name}
-
 
+cd %{name}-%{version}
 %{__make} INSTALL="install -p" DESTDIR=%{buildroot} install
 %{__make} install-man mandir="%{buildroot}%{_mandir}"
 
@@ -69,16 +71,12 @@
 %{__rm} examples/.%{name}rc
 %{__rm} examples/python/.%{name}rc
 
-
-#%{__rm} %{buildroot}%{_prefix}/lib*/%{name}-3.6/man/%{name}.1
-
+chmod -x %{buildroot}%{_libdir}/%{name}-3.4/console.tcl
 
 %{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
 %{__cp} -p %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
 
 
-%{__cp} -pr examples/ %{buildroot}%{_prefix}/lib*/%{name}-3.4/
-
 
 desktop-file-install --vendor ""               \
     --add-category Engineering                 \
@@ -104,7 +102,8 @@
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES COPYRIGHT README* TODO
+%doc %{name}-%{version}/{CHANGES,COPYRIGHT,README*,TODO}
+%doc %{name}-%{version}/examples/
 %{_bindir}/%{name}
 %{_prefix}/lib*/%{name}-3.4/
 %{_datadir}/applications/%{name}.desktop
@@ -113,8 +112,11 @@
 
 
 %Changelog
+* Mon Feb 26 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 3.4.26-19
+- Rebuilt for rawhide
+
 * Wed Jan 31 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 3.4.26-18
-- Fix presence in Gnome menu
+- Fixed presence in Gnome menu
 
 * Wed Aug 30 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 3.4.26-17
 - Rebuilt for FC6 devel




More information about the scm-commits mailing list