1 %define dbversion 20060308
2 %define ddcdb %{name}-db-%{dbversion}
4 Summary: DDCcontrol control the monitor parameters
5 Summary(pl): DDCcontrol s³u¿y do kontroli parametrów monitora
11 Source0: http://dl.sourceforge.net/ddccontrol/%{name}-%{version}.tar.bz2
12 # Source0-md5: bef6825f7dfffbb4fd40eb4a848cd438
13 Source1: http://dl.sourceforge.net/ddccontrol/%{ddcdb}.tar.bz2
14 # Source1-md5: 973a5db6081054bbb336254331820b0c
15 Patch0: %{name}-SAM0197.patch
16 Patch1: %{name}-desktop.patch
17 URL: http://ddccontrol.sourceforge.net/
18 BuildRequires: pciutils-devel
19 BuildRequires: libxml2-devel
20 BuildRequires: gtk+2-devel >= 2.4
21 BuildRequires: libtool
24 Requires: %{name}-libs = %{version}-%{release}
25 Requires: gtk+2 >= 2.4
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 DDCcontrol is a program used to control monitor parameters, like
30 brightness and contrast, by software, i.e. without using the OSD and
31 the buttons in front of the monitor.
34 DDCcontrol jest programem s³u¿±cym do kontroli parametrów monitora
35 takich jak jaskrawo¶æ i kontrast, bez u¿ywania OSD i przycisków na
39 Summary: ddccontrol libraries
40 Summary(pl): Pliki niezbêdne programistom dla ddccontrol
42 Requires: %{name} = %{version}-%{release}
47 %description libs -l pl
48 Biblioteki do DDCcontrol.
51 Summary: Development files for ddccontrol
52 Summary(pl): Pliki niezbêdne programistom dla ddccontrol
53 Group: Development/Libraries
54 Requires: %{name} = %{version}-%{release}
57 DDCcontrol is a program used to control monitor parameters, like
58 brightness and contrast, by software, i.e. without using the OSD and
59 the buttons in front of the monitor. This package contains files need
62 %description devel -l pl
63 DDCcontrol jest programem s³u¿±cym do kontroli parametrów monitora
64 takich jak jaskrawo¶æ i kontrast, bez u¿ywania OSD i przycisków na
65 obudowie monitora. Ten pakiet zawiera pliki niezbêdne programistom.
68 Summary: Static libraries for ddccontrol
69 Summary(pl): Biblioteki statyczne dla ddccontrol
70 Group: Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
74 DDCcontrol is a program used to control monitor parameters, like
75 brightness and contrast, by software, i.e. without using the OSD and
76 the buttons in front of the monitor. This package contains static
79 %description static -l pl
80 DDCcontrol jest programem s³u¿±cym do kontroli parametrów monitora
81 takich jak jaskrawo¶æ i kontrast, bez u¿ywania OSD i przycisków na
82 obudowie monitora. Ten pakiet zawiera biblioteki statyczne.
91 --disable-gnome-applet
98 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
106 rm -rf $RPM_BUILD_ROOT
109 %defattr(644,root,root,755)
110 %doc AUTHORS ChangeLog NEWS README TODO
111 %attr(755,root,root) %{_bindir}/ddccontrol
112 %attr(755,root,root) %{_bindir}/ddcpci
113 %attr(755,root,root) %{_bindir}/gddccontrol
116 %{_datadir}/locale/*/*/*
117 %{_datadir}/ddccontrol-db/*
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/lib*.so.*
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/*.so
130 %defattr(644,root,root,755)