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: gtk+2-devel >= 2.4
19 BuildRequires: libtool
20 BuildRequires: libxml2-devel
21 BuildRequires: pciutils-devel
22 Requires: %{name}-libs = %{version}-%{release}
23 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: GNOME applet for ddccontrol
52 Summary(pl): Aplet GNOME dla ddccontrol
54 Requires: %{name} = %{version}-%{release}
57 GNOME applet for ddccontrol.
59 %description applet -l pl
60 Aplet GNOME dla ddccontrol.
63 Summary: Development files for ddccontrol
64 Summary(pl): Pliki niezbêdne programistom dla ddccontrol
65 Group: Development/Libraries
66 Requires: %{name} = %{version}-%{release}
69 DDCcontrol is a program used to control monitor parameters, like
70 brightness and contrast, by software, i.e. without using the OSD and
71 the buttons in front of the monitor. This package contains files need
74 %description devel -l pl
75 DDCcontrol jest programem s³u¿±cym do kontroli parametrów monitora
76 takich jak jaskrawo¶æ i kontrast, bez u¿ywania OSD i przycisków na
77 obudowie monitora. Ten pakiet zawiera pliki niezbêdne programistom.
80 Summary: Static libraries for ddccontrol
81 Summary(pl): Biblioteki statyczne dla ddccontrol
82 Group: Development/Libraries
83 Requires: %{name}-devel = %{version}-%{release}
86 DDCcontrol is a program used to control monitor parameters, like
87 brightness and contrast, by software, i.e. without using the OSD and
88 the buttons in front of the monitor. This package contains static
91 %description static -l pl
92 DDCcontrol jest programem s³u¿±cym do kontroli parametrów monitora
93 takich jak jaskrawo¶æ i kontrast, bez u¿ywania OSD i przycisków na
94 obudowie monitora. Ten pakiet zawiera biblioteki statyczne.
109 rm -rf $RPM_BUILD_ROOT
111 DESTDIR=$RPM_BUILD_ROOT
114 DESTDIR=$RPM_BUILD_ROOT
117 %find_lang %{name} --with-gnome --all-name
120 rm -rf $RPM_BUILD_ROOT
122 %files -f %{name}.lang
123 %defattr(644,root,root,755)
124 %doc AUTHORS ChangeLog NEWS README TODO
125 %attr(755,root,root) %{_bindir}/ddccontrol
126 %attr(755,root,root) %{_bindir}/ddcpci
127 %attr(755,root,root) %{_bindir}/gddccontrol
130 %{_datadir}/ddccontrol-db/*
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/lib*.so.*
137 %defattr(644,root,root,755)
138 %dir %{_libdir}/ddccontrol
139 %dir %{_datadir}/ddccontrol
140 %attr(755,root,root) %{_libdir}/ddccontrol/ddcc-applet
141 %{_datadir}/ddccontrol/*
142 %{_libdir}/bonobo/servers/*
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/*.so
151 %defattr(644,root,root,755)