update to 0.5.1 [release 0.5.1-1mamba;Sun Feb 07 2021]
This commit is contained in:
parent
bb809cc025
commit
5f4a78755c
@ -1,17 +1,14 @@
|
|||||||
%define db_version 20061014
|
|
||||||
Name: ddccontrol
|
Name: ddccontrol
|
||||||
Version: 0.4.2
|
Version: 0.5.1
|
||||||
Release: 3mamba
|
Release: 1mamba
|
||||||
Summary: A program used to control monitor parameters without using the OSD
|
Summary: A program used to control monitor parameters without using the OSD
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://ddccontrol.sourceforge.net/
|
URL: https://github.com/ddccontrol/ddccontrol
|
||||||
Source: http://dfn.dl.sourceforge.net/sourceforge/ddccontrol/ddccontrol-%{version}.tar.bz2
|
Source: https://github.com/ddccontrol/ddccontrol.git/%{version}/ddccontrol-%{version}.tar.bz2
|
||||||
Source1: http://dfn.dl.sourceforge.net/sourceforge/ddccontrol/ddccontrol-db-%{db_version}.tar.bz2
|
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libatk-devel
|
BuildRequires: libatk-devel
|
||||||
@ -42,83 +39,117 @@ BuildRequires: libXrender-devel
|
|||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: udev-devel
|
BuildRequires: udev-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: ddccontrol-db
|
||||||
Obsoletes: ddcci-tool
|
Obsoletes: ddcci-tool
|
||||||
Provides: ddcci-tool
|
Provides: ddcci-tool
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DDCcontrol is a program running on Linux, used to control monitor parameters, like brightness and contrast, by software, i.e. without using the OSD (On Screen Display) and the buttons in front of the monitor.
|
DDCcontrol is a program running on Linux, used to control monitor parameters, like brightness and contrast, by software, i.e. without using the OSD (On Screen Display) and the buttons in front of the monitor.
|
||||||
|
|
||||||
%package devel
|
%package -n lib%{name}
|
||||||
|
Summary: Shared libraries provided by %{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
DDCcontrol is a program running on Linux, used to control monitor parameters, like brightness and contrast, by software, i.e. without using the OSD (On Screen Display) and the buttons in front of the monitor.
|
||||||
|
This package contains the shared libraries provided with %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: ddccontrol-devel
|
||||||
|
Obsoletes: ddccontrol-devel < 0.5.1
|
||||||
|
|
||||||
%description devel
|
%description -n lib%{name}-devel
|
||||||
DDCcontrol is a program running on Linux, used to control monitor parameters, like brightness and contrast, by software, i.e. without using the OSD (On Screen Display) and the buttons in front of the monitor.
|
DDCcontrol is a program running on Linux, used to control monitor parameters, like brightness and contrast, by software, i.e. without using the OSD (On Screen Display) and the buttons in front of the monitor.
|
||||||
This package contains the headers and static libraries needed for development.
|
This package contains the headers and static libraries needed for development.
|
||||||
|
|
||||||
%package gui
|
%package gui
|
||||||
Summary: GUI for DDCcontrol, a program used to control monitor OSD parameters
|
Summary: GUI for DDCcontrol, a program used to control monitor OSD parameters
|
||||||
Group: Graphical Desktop/Applications/Configuration
|
Group: Graphical Desktop/Applications/Configuration
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description gui
|
%description gui
|
||||||
DDCcontrol is a program running on Linux, used to control monitor parameters, like brightness and contrast, by software, i.e. without using the OSD (On Screen Display) and the buttons in front of the monitor.
|
DDCcontrol is a program running on Linux, used to control monitor parameters, like brightness and contrast, by software, i.e. without using the OSD (On Screen Display) and the buttons in front of the monitor.
|
||||||
This package contains the graphical user interface.
|
This package contains the graphical user interface.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a1
|
%setup -q
|
||||||
|
autoreconf -f -i
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
%make
|
%make
|
||||||
|
|
||||||
cd ddccontrol-db-%{db_version}
|
|
||||||
%configure
|
|
||||||
%make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
cd ddccontrol-db-%{db_version}
|
|
||||||
%makeinstall
|
|
||||||
%find_lang ddccontrol-db
|
|
||||||
cat ddccontrol-db.lang >> ../%{name}.lang
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%post
|
||||||
|
%systemd_post ddccontrol
|
||||||
|
:
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%systemd_preun ddccontrol
|
||||||
|
:
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%systemd_postun_with_restart ddccontrol
|
||||||
|
:
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_sysconfdir}/dbus-1/system.d/ddccontrol.DDCControl.conf
|
||||||
%{_bindir}/ddccontrol
|
%{_bindir}/ddccontrol
|
||||||
%{_bindir}/ddcpci
|
%{_unitdir}/ddccontrol.service
|
||||||
%{_libdir}/libddccontrol.so.*
|
%{_datadir}/dbus-1/interfaces/ddccontrol.DDCControl.xml
|
||||||
%dir %{_datadir}/ddccontrol-db
|
%{_datadir}/dbus-1/system-services/ddccontrol.DDCControl.service
|
||||||
%{_datadir}/ddccontrol-db/*
|
%{_mandir}/man1/ddccontrol.1*
|
||||||
%{_mandir}/man1/ddccontrol.1.gz
|
|
||||||
%doc README
|
|
||||||
#/usr/sbin/ddcci-tool
|
|
||||||
|
|
||||||
%files devel
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libddccontrol_dbus_client.so.*
|
||||||
|
%{_libdir}/libddccontrol.so.*
|
||||||
|
%{_libexecdir}/ddccontrol/ddccontrol_service
|
||||||
|
%{_libexecdir}/ddccontrol/ddcpci
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/ddccontrol
|
||||||
%{_includedir}/ddccontrol/*.h
|
%{_includedir}/ddccontrol/*.h
|
||||||
%{_libdir}/libddccontrol.a
|
%{_libdir}/libddccontrol.a
|
||||||
%{_libdir}/libddccontrol.la
|
%{_libdir}/libddccontrol.la
|
||||||
%{_libdir}/libddccontrol.so
|
%{_libdir}/libddccontrol.so
|
||||||
|
%{_libdir}/libddccontrol_dbus_client.a
|
||||||
|
%{_libdir}/libddccontrol_dbus_client.la
|
||||||
|
%{_libdir}/libddccontrol_dbus_client.so
|
||||||
|
%{_libdir}/pkgconfig/ddccontrol.pc
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/gddccontrol
|
%{_bindir}/gddccontrol
|
||||||
%{_datadir}/applications/gddccontrol.desktop
|
%{_datadir}/applications/gddccontrol.desktop
|
||||||
#%{_datadir}/ddccontrol/GNOME_ddcc-applet.xml
|
%{_datadir}/icons/Bluecurve/48x48/apps/gddccontrol.png
|
||||||
%{_datadir}/pixmaps/gddccontrol.png
|
%{_datadir}/icons/hicolor/48x48/apps/gddccontrol.png
|
||||||
#%{_libdir}/ddccontrol/ddcc-applet
|
%{_mandir}/man1/gddccontrol.1*
|
||||||
#%{_libdir}/bonobo/servers/GNOME_ddcc-applet.server
|
|
||||||
%{_mandir}/man1/gddccontrol.1.gz
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
||||||
|
- update to 0.5.1
|
||||||
|
|
||||||
* Tue Sep 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-3mamba
|
* Tue Sep 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-3mamba
|
||||||
- rebuilt with(out) gnome 3
|
- rebuilt with(out) gnome 3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user