1 | package VineLinux::VSS::Skeleton::SelfBuild::Spec; |
---|
2 | |
---|
3 | 1; |
---|
4 | __DATA__ |
---|
5 | Summary: |
---|
6 | Summary(ja): |
---|
7 | Name: <TMPL_VAR NAME="package_name"> |
---|
8 | Version: 1.0 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | Source0: http://example.com/%{name}/%{version}/%{name}-%{version}.tar.bz2 |
---|
11 | |
---|
12 | #Patch0: hoge-foo.patch |
---|
13 | |
---|
14 | License: |
---|
15 | Group: |
---|
16 | URL: http://example.com/ |
---|
17 | |
---|
18 | BuildRequires: |
---|
19 | BuildRequires: |
---|
20 | BuildRequires: |
---|
21 | # *-devel packages provided by other self-build-* should only be listed |
---|
22 | # in self-build-%{name}.spec as Requires(post). |
---|
23 | ##BuildRequires: |
---|
24 | ##BuildRequires: |
---|
25 | ##BuildRequires: |
---|
26 | ##Requires: |
---|
27 | Requires: |
---|
28 | # %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6" |
---|
29 | # Requires: |
---|
30 | # Requires(post): |
---|
31 | # %endif |
---|
32 | # %if %{?_dist_release} == "vl4" |
---|
33 | # Requires: |
---|
34 | # Requires(post): |
---|
35 | # %endif |
---|
36 | |
---|
37 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
38 | |
---|
39 | Distribution: Vine Linux |
---|
40 | Vendor: Project Vine |
---|
41 | Packager: <TMPL_VAR NAME="packager_name"> |
---|
42 | |
---|
43 | %description |
---|
44 | |
---|
45 | |
---|
46 | %description -l ja |
---|
47 | |
---|
48 | |
---|
49 | # %package devel |
---|
50 | # Summary: Development libraries for <TMPL_VAR NAME="package_name"> |
---|
51 | # Group: Development/Libraries |
---|
52 | # Requires: %{name} = %{version}-%{release} |
---|
53 | # Provides: <TMPL_VAR NAME="package_name">-devel |
---|
54 | |
---|
55 | # %description devel |
---|
56 | # <TMPL_VAR NAME="package_name"> is a library for . |
---|
57 | |
---|
58 | # This package contains development files for <TMPL_VAR NAME="package_name">. |
---|
59 | |
---|
60 | %prep |
---|
61 | %setup -q |
---|
62 | |
---|
63 | %build |
---|
64 | %configure \ |
---|
65 | --disable-static \ |
---|
66 | --enable-shared \ |
---|
67 | ; |
---|
68 | %__make %{?_smp_mflags} |
---|
69 | |
---|
70 | %install |
---|
71 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
72 | %makeinstall |
---|
73 | |
---|
74 | # # remove unpackaged files |
---|
75 | # rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
---|
76 | |
---|
77 | %clean |
---|
78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
79 | |
---|
80 | # %post -p /sbin/ldconfig |
---|
81 | |
---|
82 | # %postun -p /sbin/ldconfig |
---|
83 | |
---|
84 | %files |
---|
85 | %defattr(-,root,root) |
---|
86 | |
---|
87 | # %files devel |
---|
88 | # %defattr(-,root,root) |
---|
89 | # %{_includedir}/ |
---|
90 | # %{_libdir}/ |
---|
91 | |
---|
92 | %changelog |
---|
93 | * <TMPL_VAR NAME="generate_date"> <TMPL_VAR NAME="packager_fullname"> <<TMPL_VAR NAME="packager_email">> |
---|
94 | - first release for Vine Linux |
---|