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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

cauldron/libupnp/current/SPECS/libupnp.spec revision 39540 by ahmad, Tue Jan 25 21:41:19 2011 UTC updates/1/libupnp/current/SPECS/libupnp.spec revision 394768 by luigiwalser, Wed Feb 6 00:06:54 2013 UTC
# Line 6  Line 6 
6  Summary:        Library and tools for the UPnP protocol  Summary:        Library and tools for the UPnP protocol
7  Name:           libupnp  Name:           libupnp
8  Version:        1.6.6  Version:        1.6.6
9  Release:        %mkrel 3  %define subrel  1
10    Release:        %mkrel 4
11  License:        BSD  License:        BSD
12  Group:          System/Libraries  Group:          System/Libraries
13  URL:            http://pupnp.sourceforge.net/  URL:            http://pupnp.sourceforge.net/
14  Source:         http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2  Source:         http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
15  BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot  Patch0:         libupnp-1.6.6-VU-922681.patch
16    
17  %description  %description
18  The Linux SDK for UPnP Devices (libupnp) provides developers with an API and  The Linux SDK for UPnP Devices (libupnp) provides developers with an API and
# Line 43  Libraries and includes files for develop Line 44  Libraries and includes files for develop
44    
45  %prep  %prep
46  %setup -q  %setup -q
47    %patch0 -p1
48    
49  %build  %build
50  %configure2_5x \  %configure2_5x \
# Line 55  Libraries and includes files for develop Line 57  Libraries and includes files for develop
57  rm -rf %{buildroot}  rm -rf %{buildroot}
58  %makeinstall_std  %makeinstall_std
59    
60    # don't ship .a, .la
61    find %{buildroot} -name *.a | xargs rm -f
62    find %{buildroot} -name *.la | xargs rm -f
63    
64  %clean  %clean
65  rm -rf %{buildroot}  rm -rf %{buildroot}
66    
 %if %mdkversion < 200900  
 %post -n %{libname} -p /sbin/ldconfig  
 %endif  
   
 %if %mdkversion < 200900  
 %postun -n %{libname} -p /sbin/ldconfig  
 %endif  
   
67  %files -n %{libname}  %files -n %{libname}
 %defattr(-,root,root)  
68  %doc LICENSE NEWS README THANKS TODO  %doc LICENSE NEWS README THANKS TODO
69  %{_libdir}/*upnp.so.%{major}*  %{_libdir}/*upnp.so.%{major}*
70  %{_libdir}/*.so.%{minor}*  %{_libdir}/*.so.%{minor}*
71    
72  %files -n %{develname}  %files -n %{develname}
 %defattr(-,root,root)  
73  %{_includedir}/*  %{_includedir}/*
74  %{_libdir}/*.so  %{_libdir}/*.so
 %{_libdir}/*.a  
 %{_libdir}/*.la  
75  %{_libdir}/pkgconfig/*pc  %{_libdir}/pkgconfig/*pc
76  %{_docdir}/%{name}  %{_docdir}/%{name}
   
   

Legend:
Removed from v.39540  
changed lines
  Added in v.394768

  ViewVC Help
Powered by ViewVC 1.1.30