source: projects/specs/trunk/lib/libd/libdc1394/libdc1394-vl.spec @ 6971

Revision 6971, 3.9 KB checked in by Takemikaduchi, 11 years ago (diff)

libraw1394,libdc1394: new upstream release,
others: rebuild with libraw1394-2.1.0

Line 
1Summary: 1394-Based Digital Camera Control Library
2Summary(ja): IEEE1394 ベースのデジタルカメラ制御ライブラリ
3Name: libdc1394
4Version: 2.2.0
5Release: 1%{?_dist_release}
6
7Group: System Environment/Libraries
8License: LGPLv2+
9URL: http://damien.douxchamps.net/ieee1394/libdc1394/
10
11Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12#Patch0: libdc1394-1.2.1-obsolete_time.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: kernel-headers
16BuildRequires: libraw1394-devel
17BuildRequires: libusb1-devel
18BuildRequires: SDL-devel
19BuildRequires: mesa-libGLU-devel
20BuildRequires: libXv-devel
21BuildRequires: libSM-devel
22BuildRequires: doxygen
23
24%description
25libdc1394 provides functionality to control any camera that conforms to the
261394-Based Digital Camera Specification.
27
28%description -l ja
29libdc1394 は IEEE1394 ベースのデジタルカメラ規格に沿ったカメラをコントロール
30する機能を提供しています。
31
32%package devel
33Summary: Development libs for libdc1394
34Summary(ja): libdc1394 用開発ライブラリ
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description devel
39Development libraries required to build applications using libdc1394.
40
41%package docs
42Summary: Development documentation for %{name}
43Summary(ja): libdc1394 用開発ドキュメント
44Group: Documentation
45
46%description docs
47This package contains the development documentation for %{name}.
48
49%package tools
50Summary: Tools for use with %{name}
51Summary(ja): libdc1394で使うツール
52Group: Applications/System
53Requires: %{name} = %{version}
54
55%description tools
56This package contains tools that are useful when working and
57developing with %{name}.
58
59%prep
60%setup -q
61
62%build
63%configure --disable-static --enable-doxygen-html --enable-doxygen-dot %{!?_without_juju:--with-juju-dir=/usr/include}
64sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
65sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
66make %{?_smp_mflags}
67make doc
68
69%install
70%{__rm} -rf %{buildroot}
71make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
72
73%{!?_without_juju:rm -f %{buildroot}/%{_mandir}/man1/dc1394_vloopback.1}
74
75## remove unuse files
76rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
77
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(-, root, root, 0755)
88%doc AUTHORS ChangeLog COPYING NEWS README
89%{_libdir}/libdc1394*.so.*
90
91%files devel
92%defattr(-, root, root, 0755)
93%doc examples/*.h examples/*.c
94%{_includedir}/dc1394/
95%{_libdir}/libdc1394*.so
96%{_libdir}/pkgconfig/%{name}-2.pc
97
98%files docs
99%defattr(-, root, root, 0755)
100%doc doc/html/*
101
102%files tools
103%defattr(-, root, root, 0755)
104%{_bindir}/dc1394_reset_bus
105%{?_without_juju:%{_bindir}/dc1394_vloopback}
106%{_mandir}/man1/*.gz
107%{?_without_juju:%{_mandir}/man1/dc1394_vloopback.1.gz}
108
109%changelog
110* Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
111- new upstream release
112- add BuildRequires: libusb1-devel, SDL-devel, mesa-libGLU-devel, libXv-devel, libSM-devel
113
114* Sat Sep 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.2-2
115- rebuilt with new toolchain and rpm-4.8.1
116
117* Sat Jun 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.1.2-1vl5
118- new upstream release
119  -splited -docs, -tools file
120- dropt Patch0
121
122* Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-2vl5
123- added BuildRequires: libraw1394-devel
124
125* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.1-1vl5
126- applied new versioning policy, spec in utf-8
127- removed *.la
128
129* Tue Aug 14 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-0vl2
130- added obsolete_time.patch: CLK_TCK updated to CLOCKS_PER_SEC
131
132* Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-0vl1
133- new upstream release
134- s/Copyright/License/
135
136* Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-0vl1
137- new upstream release
138
139* Sat Mar 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.3-0vl1
140- initial build
Note: See TracBrowser for help on using the repository browser.