|
|
56c27d5 |
%global git_commit e8cc385a6321e7c99783150001193ec6e9e0c436
|
|
|
56c27d5 |
%global git_date 20120904
|
|
|
56c27d5 |
|
|
|
56c27d5 |
%global git_short_commit %(echo %{git_commit} | cut -c -8)
|
|
|
56c27d5 |
%global git_suffix %{git_date}git%{git_short_commit}
|
|
|
56c27d5 |
|
|
|
56c27d5 |
# git clone git://ddccontrol.git.sourceforge.net/gitroot/ddccontrol/ddccontrol-db
|
|
|
56c27d5 |
# cd ddccontrol-db
|
|
|
56c27d5 |
# git archive --format=tar --prefix=%%{name}-%%{version}/ %%{git_commit} | \
|
|
|
56c27d5 |
# bzip2 > ../%%{name}-%%{version}-%%{git_suffix}.tar.bz2
|
|
|
56c27d5 |
|
|
|
56c27d5 |
Name: ddccontrol-db
|
|
|
56c27d5 |
URL: http://ddccontrol.sourceforge.net/
|
|
|
56c27d5 |
Version: 20061014
|
|
|
010ab35 |
Release: 5.%{git_suffix}%{?dist}
|
|
|
56c27d5 |
# Agreed by usptream to be GPLv2+
|
|
|
56c27d5 |
# http://sourceforge.net/mailarchive/message.php?msg_id=29762202
|
|
|
56c27d5 |
License: GPLv2+
|
|
|
56c27d5 |
Group: Applications/System
|
|
|
56c27d5 |
Summary: DDC/CI control database for ddccontrol
|
|
|
56c27d5 |
#Source0: http://downloads.sourceforge.net/ddccontrol/%{name}-%{version}.tar.bz2
|
|
|
56c27d5 |
Source0: %{name}-%{version}-%{git_suffix}.tar.bz2
|
|
|
56c27d5 |
# use autopoint instead of gettextize that is interactive tool
|
|
|
56c27d5 |
Patch0: %{name}-autopoint.patch
|
|
|
56c27d5 |
BuildRequires: gettext, gettext-devel, libtool, perl(XML::Parser)
|
|
|
56c27d5 |
BuildArch: noarch
|
|
|
56c27d5 |
|
|
|
56c27d5 |
%description
|
|
|
56c27d5 |
DDC/CU control database for DDCcontrol.
|
|
|
56c27d5 |
|
|
|
56c27d5 |
%prep
|
|
|
56c27d5 |
%setup -q
|
|
|
56c27d5 |
%patch0 -p1 -b .autopoint
|
|
|
56c27d5 |
|
|
|
56c27d5 |
./autogen.sh
|
|
|
56c27d5 |
|
|
|
56c27d5 |
%build
|
|
|
56c27d5 |
%configure
|
|
|
56c27d5 |
make %{?_smp_mflags}
|
|
|
56c27d5 |
|
|
|
56c27d5 |
%install
|
|
|
56c27d5 |
make install DESTDIR=%{buildroot}
|
|
|
56c27d5 |
%find_lang %{name}
|
|
|
56c27d5 |
|
|
|
56c27d5 |
%files -f %{name}.lang
|
|
|
56c27d5 |
%doc AUTHORS COPYING NEWS README
|
|
|
56c27d5 |
%{_datadir}/%{name}
|
|
|
56c27d5 |
|
|
|
56c27d5 |
%changelog
|
|
|
010ab35 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20061014-5.20120904gite8cc385a
|
|
|
010ab35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
010ab35 |
|
|
|
0013640 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20061014-4.20120904gite8cc385a
|
|
|
0013640 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0013640 |
|
|
|
56c27d5 |
* Tue Sep 4 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 20061014-3.20120904gite8cc385a
|
|
|
56c27d5 |
- Updated to latest git head
|
|
|
56c27d5 |
|
|
|
56c27d5 |
* Tue Sep 4 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 20061014-2
|
|
|
56c27d5 |
- License tag changed to GPLv2+ (agreed by upstream)
|
|
|
56c27d5 |
|
|
|
56c27d5 |
* Wed Aug 29 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 20061014-1
|
|
|
56c27d5 |
- Initial version
|