]> git.pld-linux.org Git - packages/wmSun.git/commitdiff
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 3 May 2001 01:14:06 +0000 (01:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wmSun.spec -> 1.20

wmSun.spec

index 28535356c4e0b6bd836b0a718f4ada56685bae1b..8151dad463007658f11d762cd64577650727aeb1 100644 (file)
@@ -1,13 +1,14 @@
 Summary:       wmSun displays the current day's Sun Rise and Set Times
-Summary(pl):   wmSun wy¶wietla aktualny czas wschodu i zachodu s³oñca
+Summary(pl):   wmSun wy¶wietla aktualny czas wschodu i zachodu S³oñca
 Name:          wmSun
 Version:       1.03
 Release:       3
-Copyright:     GPL
-Group:          X11/Window Managers/Tools
-Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
-Source0:       ftp://leadbelly.lanl.gov/pub/mgh/%{name}-%{version}.tar.gz
-Source1:       wmSun.desktop
+License:       GPL
+Group:         X11/Window Managers/Tools
+Group(de):     X11/Fenstermanager/Werkzeuge
+Group(pl):     X11/Zarz±dcy Okien/Narzêdzia
+Source0:       ftp://leadbelly.lanl.gov/pub/mgh/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
 BuildRequires: XFree86-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -15,13 +16,13 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define        _mandir         %{_prefix}/man
 
 %description
-wmSun displays the current day's Sun Rise and Set Times.
-You must enter your LAtitude and Longitude correctly for it to work.
+wmSun displays the current day's Sun Rise and Set Times. You must
+enter your LAtitude and Longitude correctly for it to work.
 
 %description -l pl
-wmSun wy¶wietla aktualne godziny wschodu i zachodu s³oñca.
-Aby program dzia³a³ poprawnie, musisz podaæ w³a¶ciw± dla
-miejsca, w którym przebywasz, d³ugo¶æ i szeroko¶æ geograficzn±.
+wmSun wy¶wietla aktualne godziny wschodu i zachodu S³oñca. Aby program
+dzia³a³ poprawnie, musisz podaæ w³a¶ciw± dla miejsca, w którym
+przebywasz, d³ugo¶æ i szeroko¶æ geograficzn±.
 
 %prep
 %setup -q
@@ -29,21 +30,20 @@ miejsca, w kt
 %build
 %{__make} -C %{name} clean
 %{__make} -C %{name} \
-        CFLAGS="$RPM_OPT_FLAGS -Wall" \
-       INCDIR="-I/usr/X11R6/include"
+        CFLAGS="%{rpmcflags} -Wall" \
+       INCDIR="-I%{_includedir}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
         $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
 
-install -s %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
+install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
 install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       BUGS TODO
+gzip -9nf BUGS TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.039291 seconds and 4 git commands to generate.