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

Diff of /cauldron/libdsk/current/SPECS/libdsk.spec

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

revision 645431 by umeabot, Fri Oct 18 04:33:48 2013 UTC revision 645432 by ovitters, Sun Jul 6 12:51:15 2014 UTC
# Line 1  Line 1 
1  %define sname dsk  %define sname dsk
 %define name lib%sname  
 %define version 1.2.1  
 %define release %mkrel 3  
2    
3  %define major 3  %define major 3
4    
# Line 9  Line 6 
6  %define libname_devel %mklibname -d %sname  %define libname_devel %mklibname -d %sname
7  %define libname_static_devel %mklibname -s -d %sname  %define libname_static_devel %mklibname -s -d %sname
8    
9  Name: %{name}  Name: lib%sname
10  Summary: A library for accessing floppy drives and disk images transparently  Summary: A library for accessing floppy drives and disk images transparently
11  Version: %{version}  Version: 1.2.1
12  Release: %{release}  Release: %mkrel 3
13  License: GPL  License: GPL
14  URL: http://www.seasip.demon.co.uk/Unix/LibDsk/  URL: http://www.seasip.demon.co.uk/Unix/LibDsk/
15  Source: http://www.seasip.demon.co.uk/Unix/LibDsk/%{name}-%{version}.tar.gz  Source: http://www.seasip.demon.co.uk/Unix/LibDsk/%{name}-%{version}.tar.gz
16  Group: System/Libraries  Group: System/Libraries
17  BuildRequires: libz-devel bzip2-devel  BuildRequires: libz-devel
18  BuildRoot: %{_tmppath}/%{name}-%{version}-root  BuildRequires: bzip2-devel
19    
20  %description  %description
21  LibDsk is a library intended to give transparent access to floppy drives and  LibDsk is a library intended to give transparent access to floppy drives and
# Line 88  files. You'll also need to install the l Line 85  files. You'll also need to install the l
85  %make  %make
86    
87  %install  %install
 rm -rf %{buildroot}  
88  %makeinstall  %makeinstall
89    
 %clean  
 rm -rf %{buildroot}  
   
90  %post -n %{libname} -p /sbin/ldconfig  %post -n %{libname} -p /sbin/ldconfig
91  %postun -n %{libname} -p /sbin/ldconfig  %postun -n %{libname} -p /sbin/ldconfig
92    
93  %files -n %{libname}  %files -n %{libname}
 %defattr(-,root,root)  
94  %doc ChangeLog doc/COPYING doc/README doc/TODO  %doc ChangeLog doc/COPYING doc/README doc/TODO
95  %{_libdir}/lib*.so.%{major}*  %{_libdir}/lib*.so.%{major}*
96    
97  %files -n %{libname_devel}  %files -n %{libname_devel}
 %defattr(-,root,root)  
98  %doc doc/COPYING doc/cfi.html doc/libdsk.*  %doc doc/COPYING doc/cfi.html doc/libdsk.*
99  %{_libdir}/lib*.so  %{_libdir}/lib*.so
100  %{_libdir}/lib*.la  %{_libdir}/lib*.la
101  %{_includedir}/*.h  %{_includedir}/*.h
102    
103  %files -n %{libname_static_devel}  %files -n %{libname_static_devel}
 %defattr(-,root,root)  
104  %doc doc/COPYING  %doc doc/COPYING
105  %{_libdir}/lib*.a  %{_libdir}/lib*.a
106    
107  %files progs  %files progs
 %defattr(-,root,root)  
108  %doc doc/COPYING  %doc doc/COPYING
109  %{_bindir}/*  %{_bindir}/*
110  %{_mandir}/man1/*  %{_mandir}/man1/*

Legend:
Removed from v.645431  
changed lines
  Added in v.645432

  ViewVC Help
Powered by ViewVC 1.1.30