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
|
||||
Version: 0.4.2
|
||||
Release: 3mamba
|
||||
Version: 0.5.1
|
||||
Release: 1mamba
|
||||
Summary: A program used to control monitor parameters without using the OSD
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://ddccontrol.sourceforge.net/
|
||||
Source: http://dfn.dl.sourceforge.net/sourceforge/ddccontrol/ddccontrol-%{version}.tar.bz2
|
||||
Source1: http://dfn.dl.sourceforge.net/sourceforge/ddccontrol/ddccontrol-db-%{db_version}.tar.bz2
|
||||
URL: https://github.com/ddccontrol/ddccontrol
|
||||
Source: https://github.com/ddccontrol/ddccontrol.git/%{version}/ddccontrol-%{version}.tar.bz2
|
||||
License: GPL
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libatk-devel
|
||||
@ -42,83 +39,117 @@ BuildRequires: libXrender-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: udev-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: ddccontrol-db
|
||||
Obsoletes: ddcci-tool
|
||||
Provides: ddcci-tool
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
|
||||
%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.
|
||||
|
||||
%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}
|
||||
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.
|
||||
This package contains the headers and static libraries needed for development.
|
||||
|
||||
%package gui
|
||||
Summary: GUI for DDCcontrol, a program used to control monitor OSD parameters
|
||||
Group: Graphical Desktop/Applications/Configuration
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%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.
|
||||
This package contains the graphical user interface.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -a1
|
||||
%setup -q
|
||||
autoreconf -f -i
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
cd ddccontrol-db-%{db_version}
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
%find_lang %{name}
|
||||
|
||||
cd ddccontrol-db-%{db_version}
|
||||
%makeinstall
|
||||
%find_lang ddccontrol-db
|
||||
cat ddccontrol-db.lang >> ../%{name}.lang
|
||||
|
||||
%clean
|
||||
[ "%{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
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/dbus-1/system.d/ddccontrol.DDCControl.conf
|
||||
%{_bindir}/ddccontrol
|
||||
%{_bindir}/ddcpci
|
||||
%{_libdir}/libddccontrol.so.*
|
||||
%dir %{_datadir}/ddccontrol-db
|
||||
%{_datadir}/ddccontrol-db/*
|
||||
%{_mandir}/man1/ddccontrol.1.gz
|
||||
%doc README
|
||||
#/usr/sbin/ddcci-tool
|
||||
%{_unitdir}/ddccontrol.service
|
||||
%{_datadir}/dbus-1/interfaces/ddccontrol.DDCControl.xml
|
||||
%{_datadir}/dbus-1/system-services/ddccontrol.DDCControl.service
|
||||
%{_mandir}/man1/ddccontrol.1*
|
||||
|
||||
%files devel
|
||||
%files -n lib%{name}
|
||||
%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
|
||||
%{_libdir}/libddccontrol.a
|
||||
%{_libdir}/libddccontrol.la
|
||||
%{_libdir}/libddccontrol.so
|
||||
%{_libdir}/libddccontrol_dbus_client.a
|
||||
%{_libdir}/libddccontrol_dbus_client.la
|
||||
%{_libdir}/libddccontrol_dbus_client.so
|
||||
%{_libdir}/pkgconfig/ddccontrol.pc
|
||||
|
||||
%files gui
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gddccontrol
|
||||
%{_datadir}/applications/gddccontrol.desktop
|
||||
#%{_datadir}/ddccontrol/GNOME_ddcc-applet.xml
|
||||
%{_datadir}/pixmaps/gddccontrol.png
|
||||
#%{_libdir}/ddccontrol/ddcc-applet
|
||||
#%{_libdir}/bonobo/servers/GNOME_ddcc-applet.server
|
||||
%{_mandir}/man1/gddccontrol.1.gz
|
||||
%{_datadir}/icons/Bluecurve/48x48/apps/gddccontrol.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/gddccontrol.png
|
||||
%{_mandir}/man1/gddccontrol.1*
|
||||
|
||||
%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
|
||||
- rebuilt with(out) gnome 3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user