rebuilt with(out) gnome 3 [release 0.4.2-3mamba;Tue Sep 18 2012]
This commit is contained in:
parent
91fbbdd225
commit
bb809cc025
@ -1,2 +1,4 @@
|
||||
# ddccontrol
|
||||
|
||||
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.
|
||||
|
||||
|
133
ddccontrol.spec
Normal file
133
ddccontrol.spec
Normal file
@ -0,0 +1,133 @@
|
||||
%define db_version 20061014
|
||||
Name: ddccontrol
|
||||
Version: 0.4.2
|
||||
Release: 3mamba
|
||||
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
|
||||
License: GPL
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libatk-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgtk2-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: libpango-devel
|
||||
BuildRequires: libpci-devel
|
||||
BuildRequires: libpixman-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libpthread-stubs-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libXrender-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: udev-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Obsoletes: ddcci-tool
|
||||
Provides: ddcci-tool
|
||||
|
||||
%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
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description 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}
|
||||
|
||||
%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.
|
||||
|
||||
%prep
|
||||
%setup -q -a1
|
||||
|
||||
%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}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_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
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/ddccontrol/*.h
|
||||
%{_libdir}/libddccontrol.a
|
||||
%{_libdir}/libddccontrol.la
|
||||
%{_libdir}/libddccontrol.so
|
||||
|
||||
%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
|
||||
|
||||
%changelog
|
||||
* Tue Sep 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-3mamba
|
||||
- rebuilt with(out) gnome 3
|
||||
|
||||
* Sun May 17 2009 Automatic Build System <autodist@mambasoft.it> 0.4.2-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Wed Jan 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
|
||||
- update to 0.4.2
|
||||
|
||||
* Thu Feb 17 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.04-1qilnx
|
||||
- package created by autospec
|
||||
|
Loading…
Reference in New Issue
Block a user