source: projects/specs/branches/6/lib/libi/libindi/libindi-vl.spec @ 1885

Revision 1885, 3.8 KB checked in by inagaki, 14 years ago (diff)

rebuilt with rpm-4.8.1: libindi, libshout

Line 
1Name: libindi
2Summary: Instrument Neutral Distributed Interface
3Version: 0.6.2
4Release: 2%{?_dist_release}
5
6Group: System Environment/Libraries
7License: LGPLv2+ and GPLv2+
8# The code is LGPLv2+ except:
9# some files for v4l2 conversion under libs/webcam are GPLv2+
10# drivers/video/stvdriver (indi_stv driver) appears to contain GPL code
11# upstream bug https://sourceforge.net/tracker2/?func=detail&aid=2572902&group_id=90275&atid=593019
12URL: http://indi.sourceforge.net/
13
14%define majorver 0
15
16Source0: http://downloads.sourceforge.net/indi/%{name}_%{version}.tar.gz
17Patch0: libindi-suffix.patch
18
19Buildroot: %{_tmppath}/%{name}-%{version}-root
20BuildRequires: cmake
21BuildRequires: cfitsio-devel >= 3.03
22BuildRequires: libfli-devel
23BuildRequires: libnova-devel >= 0.12.1
24BuildRequires: zlib-devel
25
26Conflicts: kdeedu3
27
28%description
29INDI is a distributed control protocol designed to operate
30astronomical instrumentation. INDI is small, flexible, easy to parse,
31and scalable. It supports common DCS functions such as remote control,
32data acquisition, monitoring, and a lot more.
33
34
35%package devel
36Summary: Libraries, includes, etc. used to develop an application with %{name}
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39Provides: libindi-static = %{version}-%{release}
40
41%description devel
42These are the header files needed to develop a %{name} application
43
44%prep
45%setup -q -n %{name}-%{version}
46%patch0 -p1
47#patch1 -p1
48
49%build
50mkdir -p %{_target_platform}
51pushd %{_target_platform}
52CFLAGS="${CFLAGS:-%optflags}" \
53CXXFLAGS="${CXXFLAGS:-%optflags}" \
54FFLAGS="${FFLAGS:-%optflags}" \
55%cmake \
56    -DCMAKE_BUILD_TYPE=release \
57    -DDATA_INSTALL_DIR:PATH=%{_datadir} \
58    ..
59popd
60
61make VERBOSE=1 %{?_smp_mflags} -C %{_target_platform}
62
63%install
64rm -fr %{buildroot}
65make install DESTDIR=%{buildroot} -C %{_target_platform}
66
67%clean
68rm -fr %{buildroot}
69
70%post -p /sbin/ldconfig
71
72%postun -p /sbin/ldconfig
73
74%files
75%defattr(-,root,root,-)
76%doc AUTHORS ChangeLog COPYING.LIB LICENSE README README.drivers README.robofocus
77%{_bindir}/*
78%{_libdir}/*.so.*
79%{_datadir}/indi
80
81%files devel
82%defattr(-,root,root,-)
83%doc README COPYING.LIB LICENSE
84%{_includedir}/*
85%{_libdir}/*.so
86%{_libdir}/*.a
87%{_libdir}/pkgconfig/*.pc
88
89%changelog
90* Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6.3-1
91- rebuilt with rpm-4.8.1 for pkg-config
92
93* Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6.2-1
94- new upstream release
95- updated Patch0
96
97* Wed Jul  7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6-12
98- added Conflicts: kdeedu3
99
100* Sat Apr 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6-11
101- rebuilt with new toolchain and libnova-0.13
102
103* Sat Sep 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.6-10
104- use %%cmake macro
105
106* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6-9
107- Inisital build for Vine Linux
108
109* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-8
110- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
111
112* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7
113- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
114
115* Wed Feb 18 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  0.6-6
116- Provides libindi-static
117
118* Tue Feb 17 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  0.6-5
119- Need to provide the static library libindidriver.a to build indi-apogee
120
121* Sat Feb 14 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  0.6-4
122- Fixed patch to find cfitsio
123
124* Sat Feb 14 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  0.6-3
125- Patch to detect cfitsio in all architectures
126
127* Fri Feb 06 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  0.6-2
128- Commands (rm, make) instead of macros
129- Upstream bug about licenses (GPLv2 missing)
130- Upstream bug about libindi calling exit
131
132* Mon Jan 28 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  0.6-1
133- First version
Note: See TracBrowser for help on using the repository browser.