/[packages]/updates/1/libupnp/current/SPECS/libupnp.spec
ViewVC logotype

Annotation of /updates/1/libupnp/current/SPECS/libupnp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 39540 - (hide annotations) (download)
Tue Jan 25 21:41:19 2011 UTC (10 years, 8 months ago) by ahmad
Original Path: cauldron/libupnp/current/SPECS/libupnp.spec
File size: 2113 byte(s)
imported package libupnp
1 ahmad 39540 %define major 3
2     %define minor 2
3     %define libname %mklibname upnp %{major}
4     %define develname %mklibname upnp -d
5    
6     Summary: Library and tools for the UPnP protocol
7     Name: libupnp
8     Version: 1.6.6
9     Release: %mkrel 3
10     License: BSD
11     Group: System/Libraries
12     URL: http://pupnp.sourceforge.net/
13     Source: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
14     BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
15    
16     %description
17     The Linux SDK for UPnP Devices (libupnp) provides developers with an API and
18     open source code for building control points, devices, and bridges that are
19     compliant with Version 1.0 of the Universal Plug and Play Device
20     Architecture Specification.
21    
22     %package -n %{libname}
23     Summary: Library and tools for the UPnP protocol
24     Group: System/Libraries
25     Obsoletes: %mklibname upnp 0
26    
27     %description -n %{libname}
28     The Linux SDK for UPnP Devices (libupnp) provides developers with an API and
29     open source code for building control points, devices, and bridges that are
30     compliant with Version 1.0 of the Universal Plug and Play Device
31     Architecture Specification.
32    
33     %package -n %{develname}
34     Summary: Header files and static libraries from %name
35     Group: Development/C
36     Requires: %{libname} >= %{version}-%{release}
37     Provides: %{name}-devel = %{version}-%{release}
38     Obsoletes: %{mklibname upnp 0 -d} < 1.6.5
39     Provides: %mklibname upnp 0 -d
40    
41     %description -n %{develname}
42     Libraries and includes files for developing programs based on %name.
43    
44     %prep
45     %setup -q
46    
47     %build
48     %configure2_5x \
49     --with-documentation=%{_docdir}/%{name} \
50     --enable-tools \
51     --enable-sample
52     %make
53    
54     %install
55     rm -rf %{buildroot}
56     %makeinstall_std
57    
58     %clean
59     rm -rf %{buildroot}
60    
61     %if %mdkversion < 200900
62     %post -n %{libname} -p /sbin/ldconfig
63     %endif
64    
65     %if %mdkversion < 200900
66     %postun -n %{libname} -p /sbin/ldconfig
67     %endif
68    
69     %files -n %{libname}
70     %defattr(-,root,root)
71     %doc LICENSE NEWS README THANKS TODO
72     %{_libdir}/*upnp.so.%{major}*
73     %{_libdir}/*.so.%{minor}*
74    
75     %files -n %{develname}
76     %defattr(-,root,root)
77     %{_includedir}/*
78     %{_libdir}/*.so
79     %{_libdir}/*.a
80     %{_libdir}/*.la
81     %{_libdir}/pkgconfig/*pc
82     %{_docdir}/%{name}
83    
84    

  ViewVC Help
Powered by ViewVC 1.1.28