SPECS: ddccontrol.spec (NEW) - provided by Dariusz W³odarczyk

mguevara mguevara at pld-linux.org
Tue May 9 22:12:57 CEST 2006


Author: mguevara                     Date: Tue May  9 20:12:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- provided by Dariusz Włodarczyk

---- Files affected:
SPECS:
   ddccontrol.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ddccontrol.spec
diff -u /dev/null SPECS/ddccontrol.spec:1.1
--- /dev/null	Tue May  9 22:12:57 2006
+++ SPECS/ddccontrol.spec	Tue May  9 22:12:52 2006
@@ -0,0 +1,142 @@
+# $Revision$, $Date$
+%define name ddccontrol
+%define dbversion 20060308
+%define ddcdb	%{name}-db-%{dbversion}
+
+Summary:	DDCcontrol control the monitor parameters
+Summary(pl):	DDCcontrol służy do kontroli parametrów monitora
+Name:		%{name}
+Version:	0.4.1
+Release:	1
+License:	GPL
+Group:		Applications
+Source0:	http://dl.sourceforge.net/ddccontrol/%{name}-%{version}.tar.bz2
+# Source0-md5:	bef6825f7dfffbb4fd40eb4a848cd438
+Source1:	http://dl.sourceforge.net/ddccontrol/%{ddcdb}.tar.bz2
+# Source1-md5:	973a5db6081054bbb336254331820b0c
+Patch0:		%{name}-SAM0197.patch
+Patch1:		%{name}-desktop.patch
+URL:		http://ddccontrol.sourceforge.net/
+BuildRequires:	pciutils-devel
+BuildRequires:	libxml2-devel
+BuildRequires:	gtk+2-devel >= 2.4
+BuildRequires:	libtool
+Requires:	pciutils
+Requires:	libxml2
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	gtk+2 >= 2.4
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DDCcontrol is a program used to control monitor parameters, like
+brightness and contrast, by software, i.e. without using the OSD and
+the buttons in front of the monitor.
+
+%description -l pl
+DDCcontrol jest programem służącym do kontroli parametrów monitora
+takich jak jaskrawość i kontrast, bez używania OSD i przycisków na
+obudowie monitora.
+
+%package libs
+Summary:	ddccontrol libraries
+Summary(pl):	Pliki niezbędne programistom dla ddccontrol
+Group:		Libraries
+Requires:	%{name} = %{version}
+
+%description libs
+DDCcontrol libraries.
+
+%description libs -l pl
+Biblioteki do DDCcontrol.
+
+%package devel
+Summary:	Development files for ddccontrol
+Summary(pl):	Pliki niezbędne programistom dla ddccontrol
+Group:		Development/Libraries
+Requires:	%{name} = %{version}
+
+%description devel
+DDCcontrol is a program used to control monitor parameters, like
+brightness and contrast, by software, i.e. without using the OSD and
+the buttons in front of the monitor. This package contains files need
+for development.
+
+%description devel -l pl
+DDCcontrol jest programem służącym do kontroli parametrów monitora
+takich jak jaskrawość i kontrast, bez używania OSD i przycisków na
+obudowie monitora. Ten pakiet zawiera pliki niezbędne programistom.
+
+%package static
+Summary:	Static libraries for ddccontrol
+Summary(pl):	Biblioteki statyczne dla ddccontrol
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}
+
+%description static
+DDCcontrol is a program used to control monitor parameters, like
+brightness and contrast, by software, i.e. without using the OSD and
+the buttons in front of the monitor. This package contains static
+libraries.
+
+%description static -l pl
+DDCcontrol jest programem służącym do kontroli parametrów monitora
+takich jak jaskrawość i kontrast, bez używania OSD i przycisków na
+obudowie monitora. Ten pakiet zawiera biblioteki statyczne.
+
+%prep
+%setup -q -a 1
+%patch0 -p1
+%patch1 -p1
+
+%build
+%configure \
+	--disable-gnome-applet
+%{__make}
+cd %{ddcdb}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+cd %{ddcdb}
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ddccontrol
+%attr(755,root,root) %{_bindir}/ddcpci
+%attr(755,root,root) %{_bindir}/gddccontrol
+%attr(644,root,root) %{_desktopdir}/*
+%attr(644,root,root) %{_pixmapsdir}/*
+%{_datadir}/locale/*/*/*
+%{_datadir}/ddccontrol-db/*
+
+%files libs
+%defattr(644,root,root,755)
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/05/09 20:12:52  mguevara
+- provided by Dariusz Włodarczyk
+
================================================================


More information about the pld-cvs-commit mailing list