rpms/rt3070/F-10 suspend.sh,NONE,1.1 rt3070.spec,1.1,1.2
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt3070/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv3891
Modified Files:
rt3070.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.0.1.0-2
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt3070sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt3070sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt3070.spec
===================================================================
RCS file: /cvs/free/rpms/rt3070/F-10/rt3070.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rt3070.spec 22 Feb 2009 16:50:21 -0000 1.1
+++ rt3070.spec 11 Mar 2009 02:43:41 -0000 1.2
@@ -2,13 +2,14 @@
Name: rt3070
Version: 2.0.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Common files for RaLink rt3070 kernel driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT3070.txt
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -39,7 +40,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT3070STA/
-install -p -m 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT3070STA/RT3070STA.dat
+install -pm 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT3070STA/RT3070STA.dat
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,7 +54,11 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT3070STA
%config(noreplace) %{_sysconfdir}/Wireless/RT3070STA/RT3070STA.dat
+%{_datadir}/%{name}
%changelog
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.0.1.0-2
+- Add suspend script (RPMFusion BZ#199)
+
* Thu Jan 15 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.0.1.0-1
- Initial build
15 years, 9 months
rpms/rt3070/devel suspend.sh,NONE,1.1 rt3070.spec,1.1,1.2
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt3070/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv3675
Modified Files:
rt3070.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.0.1.0-2
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt3070sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt3070sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt3070.spec
===================================================================
RCS file: /cvs/free/rpms/rt3070/devel/rt3070.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rt3070.spec 22 Feb 2009 16:49:35 -0000 1.1
+++ rt3070.spec 11 Mar 2009 02:41:59 -0000 1.2
@@ -2,13 +2,14 @@
Name: rt3070
Version: 2.0.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Common files for RaLink rt3070 kernel driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT3070.txt
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -39,7 +40,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT3070STA/
-install -p -m 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT3070STA/RT3070STA.dat
+install -pm 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT3070STA/RT3070STA.dat
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,7 +54,11 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT3070STA
%config(noreplace) %{_sysconfdir}/Wireless/RT3070STA/RT3070STA.dat
+%{_datadir}/%{name}
%changelog
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.0.1.0-2
+- Add suspend script (RPMFusion BZ#199)
+
* Thu Jan 15 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.0.1.0-1
- Initial build
15 years, 9 months
rpms/rt2870/F-9 suspend.sh,NONE,1.1 rt2870.spec,1.3,1.4
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt2870/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv3036
Modified Files:
rt2870.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-3
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt2870sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt2870sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt2870.spec
===================================================================
RCS file: /cvs/free/rpms/rt2870/F-9/rt2870.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rt2870.spec 7 Oct 2008 08:55:26 -0000 1.3
+++ rt2870.spec 11 Mar 2009 02:37:03 -0000 1.4
@@ -2,13 +2,14 @@
Name: rt2870
Version: 1.4.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Common files for RaLink rt2870 kernel driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2870.txt
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -33,7 +34,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
-install -p -m 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
+install -pm 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -44,31 +48,35 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT2870STA
%config(noreplace) %{_sysconfdir}/Wireless/RT2870STA/RT2870STA.dat
+%{_datadir}/%{name}
%changelog
-* Tue Oct 07 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-2
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-3
+- Add suspend script (RPMFusion BZ#199)
+
+* Tue Oct 07 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-2
- Re-own %%{_sysconfdir}/Wireless/
-* Tue Oct 07 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-1.1
+* Tue Oct 07 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-1.1
- Install RT2870STA.dat at the "right" place
-* Sat Oct 04 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-1
+* Sat Oct 04 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-1
- Rebuild for 1.4.0.0
- Added iwpriv_usage.txt into package
* Sat Oct 04 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.3.1.0-4
- Various small adjustments
-* Sat Sep 27 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-3
+* Sat Sep 27 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-3
- Re-wrote the description, removed supported hardware info.
- Fixed the defattr.
- Added the /etc/Wireless/RT2870STA.dat file that comes with the source to the rpm.
- Rename SourceDir to SourceName
-* Thu Sep 22 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-2
+* Thu Sep 22 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-2
- Some cleanup in the SPEC file to match standards
- Fix rpmlint's encoding complaints with doc files
- License is GPLv2+
-* Thu Sep 20 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-1
+* Thu Sep 20 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-1
- Initial build.
15 years, 9 months
rpms/rt2870/F-10 suspend.sh,NONE,1.1 rt2870.spec,1.3,1.4
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt2870/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv2836
Modified Files:
rt2870.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-3
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt2870sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt2870sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt2870.spec
===================================================================
RCS file: /cvs/free/rpms/rt2870/F-10/rt2870.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rt2870.spec 7 Oct 2008 09:06:19 -0000 1.3
+++ rt2870.spec 11 Mar 2009 02:35:46 -0000 1.4
@@ -2,13 +2,14 @@
Name: rt2870
Version: 1.4.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Common files for RaLink rt2870 kernel driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2870.txt
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -33,7 +34,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
-install -p -m 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
+install -pm 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -44,31 +48,35 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT2870STA
%config(noreplace) %{_sysconfdir}/Wireless/RT2870STA/RT2870STA.dat
+%{_datadir}/%{name}
%changelog
-* Tue Oct 07 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-2
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-3
+- Add suspend script (RPMFusion BZ#199)
+
+* Tue Oct 07 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-2
- Re-own %%{_sysconfdir}/Wireless/
-* Tue Oct 07 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-1.1
+* Tue Oct 07 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-1.1
- Install RT2870STA.dat at the "right" place
-* Sat Oct 04 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-1
+* Sat Oct 04 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-1
- Rebuild for 1.4.0.0
- Added iwpriv_usage.txt into package
* Sat Oct 04 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.3.1.0-4
- Various small adjustments
-* Sat Sep 27 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-3
+* Sat Sep 27 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-3
- Re-wrote the description, removed supported hardware info.
- Fixed the defattr.
- Added the /etc/Wireless/RT2870STA.dat file that comes with the source to the rpm.
- Rename SourceDir to SourceName
-* Thu Sep 22 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-2
+* Thu Sep 22 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-2
- Some cleanup in the SPEC file to match standards
- Fix rpmlint's encoding complaints with doc files
- License is GPLv2+
-* Thu Sep 20 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-1
+* Thu Sep 20 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-1
- Initial build.
15 years, 9 months
rpms/rt2870/devel suspend.sh,NONE,1.1 rt2870.spec,1.3,1.4
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt2870/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv31134
Modified Files:
rt2870.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-3
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt2870sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt2870sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt2870.spec
===================================================================
RCS file: /cvs/free/rpms/rt2870/devel/rt2870.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rt2870.spec 7 Oct 2008 09:06:19 -0000 1.3
+++ rt2870.spec 11 Mar 2009 01:54:44 -0000 1.4
@@ -2,13 +2,14 @@
Name: rt2870
Version: 1.4.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Common files for RaLink rt2870 kernel driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2870.txt
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -33,7 +34,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
-install -p -m 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
+install -pm 0644 RT2870STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -44,31 +48,35 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT2870STA
%config(noreplace) %{_sysconfdir}/Wireless/RT2870STA/RT2870STA.dat
+%{_datadir}/%{name}
%changelog
-* Tue Oct 07 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-2
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-3
+- Add suspend script (RPMFusion BZ#199)
+
+* Tue Oct 07 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-2
- Re-own %%{_sysconfdir}/Wireless/
-* Tue Oct 07 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-1.1
+* Tue Oct 07 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-1.1
- Install RT2870STA.dat at the "right" place
-* Sat Oct 04 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.4.0.0-1
+* Sat Oct 04 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.0.0-1
- Rebuild for 1.4.0.0
- Added iwpriv_usage.txt into package
* Sat Oct 04 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.3.1.0-4
- Various small adjustments
-* Sat Sep 27 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-3
+* Sat Sep 27 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-3
- Re-wrote the description, removed supported hardware info.
- Fixed the defattr.
- Added the /etc/Wireless/RT2870STA.dat file that comes with the source to the rpm.
- Rename SourceDir to SourceName
-* Thu Sep 22 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-2
+* Thu Sep 22 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-2
- Some cleanup in the SPEC file to match standards
- Fix rpmlint's encoding complaints with doc files
- License is GPLv2+
-* Thu Sep 20 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.3.1.0-1
+* Thu Sep 20 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.1.0-1
- Initial build.
15 years, 9 months
rpms/rt2860/F-9 suspend.sh,NONE,1.1 rt2860.spec,1.2,1.3
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt2860/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29966
Modified Files:
rt2860.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-2
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt2860sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt2860sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt2860.spec
===================================================================
RCS file: /cvs/free/rpms/rt2860/F-9/rt2860.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rt2860.spec 19 Oct 2008 18:29:25 -0000 1.2
+++ rt2860.spec 11 Mar 2009 01:43:50 -0000 1.3
@@ -2,13 +2,15 @@
Name: rt2860
Version: 1.8.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Common files for RaLink 802.11 rt2860 driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2860.txt
+# To suspend properly (RPMFusion BZ#199)
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -34,7 +36,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA
-install -p -m 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/
+install -pm 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,9 +50,13 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT2860STA
%config(noreplace) %{_sysconfdir}/Wireless/RT2860STA/RT2860STA.dat
+%{_datadir}/%{name}
%changelog
-* Sat Oct 19 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.8.0.0-1
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-2
+- Add suspend script (RPMFusion BZ#199)
+
+* Sat Oct 19 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-1
- Version update (1.8.0.0)
* Thu Oct 02 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.7.0-3
15 years, 9 months
rpms/rt2860/F-10 suspend.sh,NONE,1.1 rt2860.spec,1.2,1.3
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt2860/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29817
Modified Files:
rt2860.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-2
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt2860sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt2860sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt2860.spec
===================================================================
RCS file: /cvs/free/rpms/rt2860/F-10/rt2860.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rt2860.spec 19 Oct 2008 18:23:41 -0000 1.2
+++ rt2860.spec 11 Mar 2009 01:43:08 -0000 1.3
@@ -2,13 +2,15 @@
Name: rt2860
Version: 1.8.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Common files for RaLink 802.11 rt2860 driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2860.txt
+# To suspend properly (RPMFusion BZ#199)
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -34,7 +36,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA
-install -p -m 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/
+install -pm 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,9 +50,13 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT2860STA
%config(noreplace) %{_sysconfdir}/Wireless/RT2860STA/RT2860STA.dat
+%{_datadir}/%{name}
%changelog
-* Sat Oct 19 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.8.0.0-1
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-2
+- Add suspend script (RPMFusion BZ#199)
+
+* Sat Oct 19 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-1
- Version update (1.8.0.0)
* Thu Oct 02 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.7.0-3
15 years, 9 months
rpms/rt2860/devel suspend.sh,NONE,1.1 rt2860.spec,1.2,1.3
by Orcan Ogetbil
Author: oget
Update of /cvs/free/rpms/rt2860/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29644
Modified Files:
rt2860.spec
Added Files:
suspend.sh
Log Message:
* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-2
- Add suspend script (RPMFusion BZ#199)
--- NEW FILE suspend.sh ---
#!/bin/bash
WLAN=$(cat /sys/class/rfkill/rfkill0/state)
if [ $WLAN -eq 0 ] ; then
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
echo 1 > /sys/class/rfkill/rfkill0/state
sleep 1
modprobe rt2860sta
rmmod pciehp
service NetworkManager start
else
service NetworkManager stop
sleep 1
modprobe pciehp pciehp_force=1
ifconfig ra0 down
rmmod rt2860sta
sleep 1
echo 0 > /sys/class/rfkill/rfkill0/state
rmmod pciehp
service NetworkManager start
fi
Index: rt2860.spec
===================================================================
RCS file: /cvs/free/rpms/rt2860/devel/rt2860.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rt2860.spec 19 Oct 2008 18:23:41 -0000 1.2
+++ rt2860.spec 11 Mar 2009 01:41:59 -0000 1.3
@@ -2,13 +2,15 @@
Name: rt2860
Version: 1.8.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Common files for RaLink 802.11 rt2860 driver
Group: System Environment/Kernel
License: GPLv2+
URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2860.txt
+# To suspend properly (RPMFusion BZ#199)
+Source2: suspend.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -34,7 +36,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA
-install -p -m 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/
+install -pm 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/
+
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
+install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,9 +50,13 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT2860STA
%config(noreplace) %{_sysconfdir}/Wireless/RT2860STA/RT2860STA.dat
+%{_datadir}/%{name}
%changelog
-* Sat Oct 19 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT]com> - 1.8.0.0-1
+* Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-2
+- Add suspend script (RPMFusion BZ#199)
+
+* Sat Oct 19 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-1
- Version update (1.8.0.0)
* Thu Oct 02 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.7.0-3
15 years, 9 months
rpms/ffmpeg/devel ffmpeg-textrel.patch,NONE,1.1
by Dominik Mierzejewski
Author: rathann
Update of /cvs/free/rpms/ffmpeg/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13525
Added Files:
ffmpeg-textrel.patch
Log Message:
- commit forgotten patch
ffmpeg-textrel.patch:
--- NEW FILE ffmpeg-textrel.patch ---
diff -up ffmpeg-0.5/libavcodec/x86/fft_mmx.asm.textrel ffmpeg-0.5/libavcodec/x86/fft_mmx.asm
--- ffmpeg-0.5/libavcodec/x86/fft_mmx.asm.textrel 2009-02-13 01:57:22.000000000 +0100
+++ ffmpeg-0.5/libavcodec/x86/fft_mmx.asm 2009-03-10 22:09:16.000000000 +0100
@@ -448,6 +448,8 @@ fft %+ n %+ %3%2:
%ifidn __OUTPUT_FORMAT__,macho64
section .rodata
+%else
+section .data
%endif
align 8
15 years, 9 months
rpms/ffmpeg/devel .cvsignore, 1.9, 1.10 ffmpeg.spec, 1.14, 1.15 sources, 1.9, 1.10
by Dominik Mierzejewski
Author: rathann
Update of /cvs/free/rpms/ffmpeg/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13047
Modified Files:
.cvsignore ffmpeg.spec sources
Log Message:
* Tue Mar 10 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.5-1
- 0.5 release
- enable yasm on x86_64, fix resulting textrels
- add missing obsoletes for ffmpeg-compat-devel (really fix bug #173)
- disable yasm and certain asm optimizations for generic ix86 builds
- %{_bindir} is now usable
- include more docs
- specfile cleanups
- add JPEG2000 decoding support via openjpeg
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore 31 Jan 2009 23:50:47 -0000 1.9
+++ .cvsignore 10 Mar 2009 23:24:14 -0000 1.10
@@ -1 +1 @@
-ffmpeg-20090131.tar.bz2
+ffmpeg-0.5.tar.bz2
Index: ffmpeg.spec
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/devel/ffmpeg.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ffmpeg.spec 31 Jan 2009 23:50:47 -0000 1.14
+++ ffmpeg.spec 10 Mar 2009 23:24:14 -0000 1.15
@@ -1,17 +1,17 @@
# TODO: add make test to %%check section
-%define svn 20090131
%define faad2min 1:2.6.1
Summary: Digital VCR and streaming server
Name: ffmpeg
-Version: 0.4.9
-Release: 0.58.%{svn}%{?dist}
+Version: 0.5
+Release: 1%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://ffmpeg.org/
-Source0: http://rpm.greysector.net/livna/%{name}-%{svn}.tar.bz2
-Source1: %{name}-snapshot.sh
+Source0: http://ffmpeg.org/releases/%{name}-%{version}.tar.bz2
+# get rid of textrels on x86_64 in yasm code
+Patch0: %{name}-textrel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
@@ -24,6 +24,7 @@
BuildRequires: libdc1394-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
+BuildRequires: openjpeg-devel
BuildRequires: schroedinger-devel
BuildRequires: SDL-devel
BuildRequires: speex-devel
@@ -31,8 +32,7 @@
BuildRequires: x264-devel >= 0.0.0-0.14.20080613
BuildRequires: xvidcore-devel
BuildRequires: zlib-devel
-#don't enable on x86_64 until PIC issues on are fixed (in libavcodec/i386/fft_mmx.asm)
-%ifarch %{ix86}
+%ifarch %{ix86} x86_64
BuildRequires: yasm
%endif
@@ -61,6 +61,7 @@
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: pkgconfig
+Obsoletes: ffmpeg-compat-devel < 0.4.9-0.49
%description devel
FFMpeg is a complete and free Internet live audio and video
@@ -72,11 +73,14 @@
%define ff_configure \
../configure \\\
--prefix=%{_prefix} \\\
+ --bindir=%{_bindir} \\\
+ --datadir=%{_datadir}/ffmpeg \\\
--incdir=%{_includedir}/ffmpeg \\\
--libdir=%{_libdir} \\\
--mandir=%{_mandir} \\\
--arch=%{_target_cpu} \\\
- --extra-cflags="$RPM_OPT_FLAGS" \\\
+ --extra-cflags="$RPM_OPT_FLAGS -I%{_includedir}/openjpeg" \\\
+ --extra-version=rpmfusion \\\
%{?_with_amr:--enable-libamr-nb --enable-libamr-wb --enable-nonfree} \\\
--enable-bzlib \\\
--enable-libdc1394 \\\
@@ -84,6 +88,7 @@
--enable-libfaad \\\
--enable-libgsm \\\
--enable-libmp3lame \\\
+ --enable-libopenjpeg \\\
--enable-libschroedinger \\\
--enable-libspeex \\\
--enable-libtheora \\\
@@ -100,12 +105,12 @@
--enable-shared \\\
--enable-gpl \\\
--disable-debug \\\
- --disable-optimizations \\\
--disable-stripping
%prep
-%setup -q -n %{name}-%{svn}
+%setup -q
+%patch0 -p1 -b .textrel
%build
mkdir generic
@@ -114,6 +119,10 @@
--shlibdir=%{_libdir} \
%ifarch %{ix86}
--cpu=%{_target_cpu} \
+ --disable-mmx2 \
+ --disable-sse \
+ --disable-ssse3 \
+ --disable-yasm \
%endif
%ifarch ppc ppc64
--disable-altivec \
@@ -123,6 +132,7 @@
%endif
make %{?_smp_mflags}
+make documentation
popd
mkdir simd
@@ -173,24 +183,15 @@
popd
%install
-rm -rf $RPM_BUILD_ROOT __doc
+rm -rf $RPM_BUILD_ROOT
pushd generic
make install DESTDIR=$RPM_BUILD_ROOT
popd
pushd simd
-%ifarch %{ix86}
-make install DESTDIR=$RPM_BUILD_ROOT
-%endif
-%ifarch ppc ppc64
-make install DESTDIR=$RPM_BUILD_ROOT
-%endif
-%ifarch sparc sparc64
+%ifarch %{ix86} ppc ppc64 sparc sparc64
make install DESTDIR=$RPM_BUILD_ROOT
%endif
popd
-cp -a doc __doc
-rm -f __doc/{Makefile,*.{1,pl,texi}}
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -202,11 +203,10 @@
%files
%defattr(-,root,root,-)
-%doc COPYING.GPL CREDITS Changelog README __doc/*.*
-# Note: as of 20070204, "configure" doesn't have --bindir.
-%{_prefix}/bin/ffmpeg
-%{_prefix}/bin/ffplay
-%{_prefix}/bin/ffserver
+%doc COPYING.GPL CREDITS Changelog README RELEASE doc/ffserver.conf
+%{_bindir}/ffmpeg
+%{_bindir}/ffplay
+%{_bindir}/ffserver
%{_mandir}/man1/ffmpeg.1*
%{_mandir}/man1/ffplay.1*
%{_mandir}/man1/ffserver.1*
@@ -231,6 +231,7 @@
%files devel
%defattr(-,root,root,-)
+%doc MAINTAINERS doc/APIchanges doc/TODO doc/*.txt
%{_includedir}/ffmpeg
%{_libdir}/pkgconfig/lib*.pc
%{_libdir}/lib*.so
@@ -246,6 +247,16 @@
%changelog
+* Tue Mar 10 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.5-1
+- 0.5 release
+- enable yasm on x86_64, fix resulting textrels
+- add missing obsoletes for ffmpeg-compat-devel (really fix bug #173)
+- disable yasm and certain asm optimizations for generic ix86 builds
+- %%{_bindir} is now usable
+- include more docs
+- specfile cleanups
+- add JPEG2000 decoding support via openjpeg
+
* Sat Jan 31 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.58.20090131
- 20090131 snapshot
Index: sources
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 31 Jan 2009 23:50:47 -0000 1.9
+++ sources 10 Mar 2009 23:24:14 -0000 1.10
@@ -1 +1 @@
-d1290cd26ffdba89af962529f86f904f ffmpeg-20090131.tar.bz2
+be8503f15c3b81ba00eb8379ca8dcf33 ffmpeg-0.5.tar.bz2
15 years, 9 months