/[packages]/cauldron/libxscrnsaver/current/SPECS/libxscrnsaver.spec
ViewVC logotype

Annotation of /cauldron/libxscrnsaver/current/SPECS/libxscrnsaver.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 994 - (hide annotations) (download)
Sat Jan 8 19:14:31 2011 UTC (11 years ago) by blino
File size: 2199 byte(s)
remove old buildrequires and ldconfig scriptlets

1 blino 985 %define libxscrnsaver %mklibname xscrnsaver 1
2     Name: libxscrnsaver
3     Summary: The XScrnSaver Library
4     Version: 1.2.1
5 blino 994 Release: %mkrel 2
6 blino 985 Group: Development/X11
7     License: MIT
8     URL: http://xorg.freedesktop.org
9     Source0: http://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-%{version}.tar.bz2
10     BuildRoot: %{_tmppath}/%{name}-root
11    
12     BuildRequires: libx11-devel >= 1.0.0
13     BuildRequires: libxext-devel >= 1.0.0
14    
15     %description
16     The XScrnSaver Library
17    
18     #-----------------------------------------------------------
19    
20     %package -n %{libxscrnsaver}
21     Summary: The XScrnSaver Library
22     Group: Development/X11
23     Conflicts: libxorg-x11 < 7.0
24     Provides: %{name} = %{version}
25    
26     %description -n %{libxscrnsaver}
27     The XScrnSaver Library
28    
29     #-----------------------------------------------------------
30    
31     %package -n %{libxscrnsaver}-devel
32     Summary: Development files for %{name}
33     Group: Development/X11
34    
35    
36     Requires: %{libxscrnsaver} = %{version}
37     Requires: x11-proto-devel >= 7.4-25mdv
38     Provides: libxscrnsaver-devel = %{version}-%{release}
39    
40     Conflicts: libxorg-x11-devel < 7.0
41    
42     %description -n %{libxscrnsaver}-devel
43     Development files for %{name}
44    
45     %files -n %{libxscrnsaver}-devel
46     %defattr(-,root,root)
47     %{_libdir}/libXss.so
48     %{_libdir}/libXss.la
49     %{_libdir}/pkgconfig/xscrnsaver.pc
50     %{_mandir}/man3/XScreenSaver*
51     %{_mandir}/man3/Xss*
52     %{_includedir}/X11/extensions/scrnsaver.h
53    
54     #-----------------------------------------------------------
55    
56     %package -n %{libxscrnsaver}-static-devel
57     Summary: Static development files for %{name}
58     Group: Development/X11
59     Requires: %{libxscrnsaver}-devel = %{version}
60     Provides: libxscrnsaver-static-devel = %{version}-%{release}
61    
62     Conflicts: libxorg-x11-static-devel < 7.0
63    
64     %description -n %{libxscrnsaver}-static-devel
65     Static development files for %{name}
66    
67     %files -n %{libxscrnsaver}-static-devel
68     %defattr(-,root,root)
69     %{_libdir}/libXss.a
70    
71     #-----------------------------------------------------------
72    
73     %prep
74     %setup -q -n libXScrnSaver-%{version}
75    
76     %build
77     %configure2_5x --x-includes=%{_includedir}\
78     --x-libraries=%{_libdir}
79    
80     %make
81    
82     %install
83     rm -rf %{buildroot}
84     %makeinstall_std
85    
86     %clean
87     rm -rf %{buildroot}
88    
89     %files -n %{libxscrnsaver}
90     %defattr(-,root,root)
91     %{_libdir}/libXss.so.1
92     %{_libdir}/libXss.so.1.0.0
93    
94    

  ViewVC Help
Powered by ViewVC 1.1.28