rpms/ks3switch/devel ks3switch-desktop.patch, NONE, 1.1 ks3switch-exec.patch, NONE, 1.1 ks3switch.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Tue Sep 20 20:17:12 UTC 2005
Author: scop
Update of /cvs/extras/rpms/ks3switch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8044/devel
Modified Files:
.cvsignore sources
Added Files:
ks3switch-desktop.patch ks3switch-exec.patch ks3switch.spec
Log Message:
auto-import ks3switch-0.1-0.3 on branch devel from ks3switch-0.1-0.3.src.rpm
Initial import (#165464).
ks3switch-desktop.patch:
--- NEW FILE ks3switch-desktop.patch ---
--- ks3switch/ks3switch.desktop~ 2002-07-11 22:59:31.000000000 +0300
+++ ks3switch/ks3switch.desktop 2004-07-22 14:50:51.000000000 +0300
@@ -4,9 +4,7 @@
Type=Application
Exec=ks3switch -caption "%c" %i %m
Icon=ks3switch.png
-DocPath=ks3switch/index.html
-Comment=
-Comment[de]=
-Terminal=0
+Comment=Manage output devices of S3 chips
+Terminal=false
Name=KS3Switch
-Name[de]=KS3Switch
+Categories=Settings;HardwareSettings;System;SystemSetup;KDE;
ks3switch-exec.patch:
--- NEW FILE ks3switch-exec.patch ---
Prevent an empty "exec=" in the config file from causing "" to be launched.
--- ks3switch/ks3switch.cpp~ 2002-07-12 10:45:13.000000000 +0300
+++ ks3switch/ks3switch.cpp 2004-07-22 16:44:54.000000000 +0300
@@ -160,6 +160,10 @@
/** Set the values */
config->setGroup("General options");
s3switch = config->readEntry("exec");
+ if (s3switch.isEmpty())
+ {
+ s3switch = "s3switch";
+ }
if (config->readBoolEntry("PAL")){
TV_mode = "PAL";
}
--- NEW FILE ks3switch.spec ---
Name: ks3switch
Version: 0.1
Release: 0.3
Summary: KDE utility for managing the output device on S3 Savage chips
Group: Applications/System
License: GPL
URL: http://francois.bochatay.net/apps/ks3switch/
Source0: http://francois.bochatay.net/apps/ks3switch/%{name}-%{version}.tar.gz
Patch0: %{name}-desktop.patch
Patch1: %{name}-exec.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdelibs-devel
BuildRequires: qt-devel >= 1:3.0
BuildRequires: desktop-file-utils
Requires: s3switch
# ExclusiveArch due to s3switch availability
ExclusiveArch: %{ix86}
%description
KS3switch is a KDE frontend to s3switch, the utility for managing the
output device on S3 Savage chips.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%build
[ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh
%configure --disable-rpath --disable-dependency-tracking
make clean # 0.1 ships unclean
make # %{?_smp_mflags} # not parallel build clean
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install \
--vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--mode 644 \
--add-category X-Fedora \
$RPM_BUILD_ROOT%{_datadir}/applnk/Applications/%{name}.desktop
rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk
rm -rf $RPM_BUILD_ROOT%{_docdir}/HTML # it's just the template in 0.1
%clean
rm -rf $RPM_BUILD_ROOT
%post
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor >/dev/null 2>&1 || :
%postun
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor >/dev/null 2>&1 || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/ks3switch
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%changelog
* Sun Aug 7 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1-0.3
- ExclusiveArch ix86 due to s3switch availability.
* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1-0.2
- Rebuild for FC4.
* Sun Feb 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1-0.1
- Fix Group tag.
- Reduce dir ownership.
* Sat Dec 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1-0.fdr.2
- Add -fpermissive to C(XX)FLAGS for gcc 3.4.
* Thu Jul 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1-0.fdr.1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ks3switch/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 20 Sep 2005 20:16:02 -0000 1.1
+++ .cvsignore 20 Sep 2005 20:17:10 -0000 1.2
@@ -0,0 +1 @@
+ks3switch-0.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ks3switch/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 20 Sep 2005 20:16:02 -0000 1.1
+++ sources 20 Sep 2005 20:17:10 -0000 1.2
@@ -0,0 +1 @@
+e560f7db57ae12a60a08dbc75734fb8b ks3switch-0.1.tar.gz
More information about the fedora-extras-commits
mailing list