/[smeserver]/rpms/buildsys-macros/sme9/buildsys-macros.spec
ViewVC logotype

Contents of /rpms/buildsys-macros/sme9/buildsys-macros.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jan 24 18:16:09 2013 UTC (11 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: buildsys-macros-6-1_el6_sme, HEAD
Initial import

1 # $Id: buildsys-macros.spec,v 1.3 2008/04/09 13:51:45 slords Exp $
2
3 Name: buildsys-macros
4 Summary: Macros for the Fedora Buildsystem
5 # The value for version should match the version of Fedora Core.
6 Version: 6
7 Release: 1%{?dist}
8 License: GPL
9 Group: Development/Buildsystem
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11 Buildarch: noarch
12 Requires: rpmdevtools
13
14 %description
15 Macros for the Fedora Buildsystem
16
17 %prep
18
19 %build
20
21 %install
22 rm -rf $RPM_BUILD_ROOT
23 mkdir -p $RPM_BUILD_ROOT/etc/rpm/
24 VERSION=%{version}
25 printf %s%b "%" "rhel $VERSION\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
26 printf %s%b "%" "dist .el$VERSION.sme\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
27 printf %s%b "%" "el$VERSION 1\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
28 printf %s%b "%" "__arch_install_post /usr/lib/rpm/check-buildroot\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.checkbuild
29
30
31 %clean
32 rm -rf $RPM_BUILD_ROOT
33
34 %files
35 %defattr(-,root,root)
36 /etc/rpm/macros.disttag
37 /etc/rpm/macros.checkbuild
38
39 %changelog
40 * Thu Jan 24 2013 Shad L. Lords <slords@mail.com> 6-1.sme
41 - Initial build.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed