SPECS: secpanel.spec - 0.5.1 - moved _libdir -> _datadir; it's noa...

blues blues at pld-linux.org
Sun Oct 9 00:30:55 CEST 2005


Author: blues                        Date: Sat Oct  8 22:30:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.5.1 - moved _libdir -> _datadir; it's noarch now. Works nice.

---- Files affected:
SPECS:
   secpanel.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/secpanel.spec
diff -u SPECS/secpanel.spec:1.20 SPECS/secpanel.spec:1.21
--- SPECS/secpanel.spec:1.20	Wed Sep  7 22:00:25 2005
+++ SPECS/secpanel.spec	Sun Oct  9 00:30:50 2005
@@ -1,23 +1,24 @@
 # $Revision$, $Date$
 # TODO:
-# - there is nothing binary in that package - maybe better put
-#   it to %{datadir}, not %{libdir} ?
+# - some icon for desktop
 Summary:	Visual management of SSH connections
 Summary(pl):	Wizualna nakładka na klienta SSH
 Name:		secpanel
-Version:	0.4.3
-Release:	4
+Version:	0.5.1
+Release:	1
 Epoch:		1
 License:	GPL v2
 Group:		X11/Applications/Networking
 Source0:	http://www.pingx.net/secpanel/%{name}-%{version}.tar.gz
-# Source0-md5:	99f8e26f882e95399322e75ad777eacf
+# Source0-md5:	c0694dbc5c1970e12eba552c2755482f
 Source1:	%{name}.desktop
+Patch0:		%{name}-data_location.patch
 URL:		http://www.pingx.net/secpanel/
 Requires:	tcl
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_libdir		/usr/lib
+%define		_appdir		%{_datadir}/%{name}
 
 %description
 SecPanel serves as a graphical user interface for managing and running
@@ -32,13 +33,14 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/secpanel,%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir},%{_desktopdir}}
 
 install src/bin/secpanel $RPM_BUILD_ROOT%{_bindir}
-cp -r src/lib/secpanel/* $RPM_BUILD_ROOT%{_libdir}/secpanel
+cp -r src/lib/secpanel/* $RPM_BUILD_ROOT%{_appdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
@@ -48,13 +50,16 @@
 %defattr(644,root,root,755)
 %doc README CHANGES
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/secpanel
-%attr(755,root,root) %{_libdir}/secpanel/listserver.tcl
-%attr(755,root,root) %{_libdir}/secpanel/secpanel*
-%{_libdir}/secpanel/convert_history.tcl
-%{_libdir}/secpanel/gui.tcl
-%{_libdir}/secpanel/default*
-%{_libdir}/secpanel/images
+%dir %{_appdir}
+%attr(755,root,root) %{_appdir}/convert_profile.tcl
+%attr(755,root,root) %{_appdir}/listserver.tcl
+%attr(755,root,root) %{_appdir}/gui.tcl
+%attr(755,root,root) %{_appdir}/secpanel*
+%{_appdir}/convert_history.tcl
+%{_appdir}/default*
+%{_appdir}/export_profiles.tcl
+%{_appdir}/images
+%{_appdir}/sp_scp.tcl
 %{_desktopdir}/*.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -63,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2005/10/08 22:30:50  blues
+- 0.5.1 - moved _libdir -> _datadir; it's noarch now. Works nice.
+
 Revision 1.20  2005/09/07 20:00:25  blues
 - release 4 - redefined libdir to have working package on amd64; STBR
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/secpanel.spec?r1=1.20&r2=1.21&f=u




More information about the pld-cvs-commit mailing list