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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1786945 - (hide annotations) (download)
Tue Mar 1 08:28:10 2022 UTC (3 years, 4 months ago) by danf
File size: 2554 byte(s)
SILENT: Fix typos in package description
1 dlucio 860244 %define major 1
2     %define libname %mklibname getoptpp %{major}
3     %define develname %mklibname getoptpp -d
4     %define lib_name getopt_pp
5 umeabot 1512491 %define rel 5
6 dlucio 860244
7     Summary: Yet Another getopt C++ version, STL-streaming like
8     Name: getoptpp
9     Version: 1
10     Release: %mkrel %{rel}
11     Group: System/Libraries
12     License: GPL
13     URL: https://github.com/timstaley/getoptpp
14     Source0: getopt_pp-2.18.tgz
15     Patch0: getoptpp-makefile.patch
16 ovitters 1144422 BuildRequires: pkgconfig(libcurl)
17 dlucio 860244
18     %description
19 cjw 1153442 This is yet another C++ version of the getopt function, that is, for parsing
20     command line options and environment variables. However, unlike other versions,
21 dlucio 860244 the design goals of this one are:
22    
23     EASY to use
24     EASY to learn
25     mimic STL's streams
26     minimum code to type
27     smooth integration with STL types
28 danf 1786945 Platform independent (ANSI C++)
29 dlucio 860244 EASY to extend for your own types
30    
31     %package -n %{libname}
32     Summary: Yet Another getopt C++ version, STL-streaming like
33     Group: System/Libraries
34    
35     %description -n %{libname}
36 cjw 1153442 This is yet another C++ version of the getopt function, that is, for parsing
37     command line options and environment variables. However, unlike other versions,
38 dlucio 860244 the design goals of this one are:
39    
40     EASY to use
41     EASY to learn
42     mimic STL's streams
43     minimum code to type
44     smooth integration with STL types
45 danf 1786945 Platform independent (ANSI C++)
46 dlucio 860244 EASY to extend for your own types
47    
48     %package -n %{develname}
49     Summary: Static library and header files for the getoptpp library
50     Group: Development/C
51     Requires: %{libname} = %{version}-%{release}
52     Provides: %{name}-devel = %{version}-%{release}
53    
54     %description -n %{develname}
55 cjw 1153442 This is yet another C++ version of the getopt function, that is, for parsing
56     command line options and environment variables. However, unlike other versions,
57 dlucio 860244 the design goals of this one are:
58    
59     EASY to use
60     EASY to learn
61     mimic STL's streams
62     minimum code to type
63     smooth integration with STL types
64 danf 1786945 Platform independent (ANSI C++)
65 dlucio 860244 EASY to extend for your own types
66    
67     This package contains the static libmemcache library and its
68     header files.
69    
70     %prep
71    
72     %setup -q -n getoptpp
73 cjw 1153442 %autopatch -p1
74    
75 dlucio 860244 %build
76 wally 1474291 %set_build_flags
77 cjw 1153442 %make_build
78 dlucio 860244
79    
80     %install
81     mkdir -p %{buildroot}%{_libdir}
82     mkdir -p %{buildroot}%{_includedir}
83 wally 1471130 %make_install PREFIX=%{buildroot} LIBDIR=%{_libdir}
84 dlucio 860244 pushd %{buildroot}%{_libdir}
85     ln -s lib%{lib_name}.so.1.0 lib%{lib_name}.so.1
86     ln -s lib%{lib_name}.so.1.0 lib%{lib_name}.so
87     #popd
88     # we don't want these
89     find %{buildroot} -name "*.la" -delete
90    
91     %files -n %{libname}
92     %{_libdir}/lib%{lib_name}.so.%{major}
93 ovitters 878418 %{_libdir}/lib%{lib_name}.so.%{major}.*
94 dlucio 860244
95     %files -n %{develname}
96     %{_includedir}/*
97     %{_libdir}/lib%{lib_name}.so

  ViewVC Help
Powered by ViewVC 1.1.30