]> git.pld-linux.org Git - packages/ddccontrol.git/commitdiff
- provided by Dariusz Włodarczyk
authormguevara <mguevara@pld-linux.org>
Tue, 9 May 2006 20:12:52 +0000 (20:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ddccontrol.spec -> 1.1

ddccontrol.spec [new file with mode: 0644]

diff --git a/ddccontrol.spec b/ddccontrol.spec
new file mode 100644 (file)
index 0000000..f375a89
--- /dev/null
@@ -0,0 +1,131 @@
+%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
This page took 0.074195 seconds and 4 git commands to generate.